uv
All of Python in one very fast tool: versions, environments, dependencies, scripts.
uv replaces pip, venv, pipx and pyenv with a single tool, written in Rust and extremely fast. Everything I do in Python goes through it.
How I use it
Its best feature for me is standalone scripts: a Python script declares its dependencies in a comment at the top of
the file, and uv run installs them in a throwaway environment before running it. My CortX global
scripts all work that way: no environment to create, nothing to install beforehand.
# /// script
# dependencies = ["pillow"]
# ///
uv run script.py # run a script with its dependencies
uv init && uv add requests # a project, with its environment and lock file
uvx ruff check . # run a tool without installing it
