diff --git a/Python/scripts/characterize_data.py b/Python/scripts/characterize_data.py index c0e6084b..b155d8d0 100755 --- a/Python/scripts/characterize_data.py +++ b/Python/scripts/characterize_data.py @@ -17,6 +17,24 @@ # # ========================================================================= +# +# Run the script directly from GitHub without downloading it using uv (https://github.com/astral-sh/uv): +# uv run https://raw.githubusercontent.com/InsightSoftwareConsortium/SimpleITK-Notebooks/refs/heads/main/Python/scripts/characterize_data.py -h +# + +# +# Provide inline script metadata per PEP 723 (https://peps.python.org/pep-0723/) +# /// script +# requires-python = ">=3.11" +# dependencies = [ +# "matplotlib", +# "numpy", +# "pandas", +# "tqdm", +# "SimpleITK", +# ] +# /// + import SimpleITK as sitk import pandas as pd import numpy as np