UV (Python)

UV is useful for package and virtual environment management.

It allows users to specify dependencies at the beginning of a module and call it as a script (uv automatically installs the dependencies):

uv module_script.py
# /// script
# requires-python = ">=3.10"
# dependencies = [
#     "pandas",
# ]
# ///

import pandas
...