uv Python Package Manager

•
26
•

Guides modern uv-based Python project management, dependency resolution, lockfile synchronization, and container CI workflows.

The uv Knowledge Patch equips Claude Code with up-to-date expertise in Astral's high-performance uv Python package and project manager. It bridges the gap between static LLM training cutoffs and the rapidly evolving uv ecosystem by providing authoritative guidance on project initialization, workspace configuration, PEP 751 lockfiles, dependency resolution rules, private package index authentication, interpreter selection, and recent breaking changes.

主な機能

01Enforces strict lockfile verification, PEP 751 compatibility, and requirements synchronization
0226 GitHub stars
03Configures modern uv workspaces, project layouts, and dependency groups to current standards
04Navigates breaking changes and deprecations across recent uv versions safely
05Manages Python interpreter selection, virtual environments, and multi-platform container targets
06Secures private package index authentication, fail-closed trust policies, and archive validations

ユースケース

01Migrating legacy Python setups or older uv workflows to modern Astral uv project conventions
02Diagnosing private package index authentication issues, wheel conflicts, and interpreter discovery errors
03Configuring robust CI/CD pipelines with deterministic lockfile checks and pre-release fallback handling