What problem does it solve?
Provide a consistent, modern workflow for creating, running, testing, and maintaining Python scripts and small projects while avoiding ad-hoc pip usage and inconsistent tooling across environments.
Core Features & Use Cases
- PEP 723 single-file script recommendations for fast, self-contained utilities that declare their dependencies inline and run with a single command.
- Project workflows for multi-file development including Python version pinning, virtual environments, dependency pinning, and running tools through uv.
- Integrated guidance for testing, linting, and type checking using pytest, ruff, and pyright to keep code quality high during iterative development.
- Use case: quickly scaffold a CLI utility that declares dependencies inline, run it in an isolated environment, add tests, and enforce formatting and type checks before release.
Quick Start
Create a PEP 723 single-file script that declares its dependencies and run it with uv run python script.py.