Reliably packaging & distributing python CLI tools is hard. Aider uses uv in novel ways to make it easy to install the aider CLI, its dependencies and python 3.12. All in an isolated env.| aider
A guide to using uv to run Python scripts, including support for inline dependency metadata, reproducible scripts, and more.| docs.astral.sh
Tools| docs.astral.sh
uv is an extremely fast Python package and project manager, written in Rust.| docs.astral.sh
This PEP specifies a metadata format that can be embedded in single-file Python scripts to assist launchers, IDEs and other external tools which may need to interact with such scripts.| Python Enhancement Proposals (PEPs)