uv — The Unified Python Toolchain

Parent: Python Patterns and Best Practices · Published reference · snapshot 2026-09-08 · skill lang-python/references/uv-python-toolchain.md

↓ Facts as markdownall context files

uv is an extremely fast Python package and project manager written in Rust by

These notes link each claim to its source. Some citations identify archived research reports that are no longer hosted on this site. A published reference means the content is available; it does not certify independent review or accuracy.Read the editorial policy and follow the sources before relying on a claim.

uv — The Unified Python Toolchain

Command surface at a glance

Single project

Workspaces (monorepo)

2. The universal lockfile (`uv.lock`)

3. Python version install & pinning

4. Tool / pipx replacement (`uv tool`, `uvx`)

5. pip-compatible interface (`uv pip`)

Build backend, publishing & PEP 723 scripts

Configuration & cache

Practical patterns

Anti-patterns

Troubleshooting

References

Where this helps

Project ideas

Common mistakes

Known issues

Where this helps

Project ideas

Common mistakes

Known issues

Children

Frontier under this node: Build backend & publishing (uv_build default since 2025, uv build, uv publish), Configuration & cache ([tool.uv]/uv.toml, UV_* env vars, [[tool.uv.index]], content-addressed cache), Lockfile export & interop (uv export to requirements.txt / pylock.toml PEP 751 / CycloneDX SBOM), PEP 723 inline-script metadata (uv run script.py, uv add --script, --with), Project & workspace management (uv init/add/remove/sync/run/lock/tree, [dependency-groups] PEP 735, [tool.uv.sources], multi-package workspaces with shared uv.lock), Python version install & pinning (uv python install/pin/list/find, .python-version, python-preference managed vs system, UV_PYTHON_DOWNLOADS), Tool / pipx replacement (uvx / uv tool run ephemeral, uv tool install/upgrade/list/update-shell), Universal lockfile (uv.lock cross-platform marker resolution, --resolution highest/lowest/lowest-direct, --prerelease, --fork-strategy, --locked/--frozen/--check, requires-python subset rule), pip-compatible interface (uv pip install/compile --universal/sync, uv venv, --system)

← the whole tree · 3D view· how to read this page