uv Python Package Manager

uv Python Package Manager

docs.astral.sh

2

About this website

uv is an extremely fast Python package installer and resolver written in Rust, designed as a drop-in replacement for pip, pip-tools, and virtualenv with 10-100x better performance. Developed by Charlie Marsh and the team at Astral (creators of Ruff), uv was released in 2024 and has become one of the fastest-adopted Python tooling projects. Key features: Rust-based implementation providing 10-100x speedup over pip for package installation, leveraging global caching, parallel downloads, and hardlink-based installation. Universal package management: manages Python versions, virtual environments, packages, and project dependencies in a single tool, replacing pip, pip-tools, virtualenv, pyenv, poetry, and pipx. pip-compatible CLI: uv pip install, uv pip uninstall, uv pip freeze mirror pip's interface for easy migration. uv pip compile and uv pip sync replace pip-tools. Project management: uv init, uv add, uv remove, uv lock, uv sync for managing dependencies with pyproject.toml and uv.lock lockfile. Python version management: uv python install for managing multiple Python versions from python-build-standalone. Tool management: uv tool install for installing CLI applications in isolated environments. Script execution: uv run for running scripts with inline dependency declarations (PEP 723). Global cache using hardlinks to avoid redundant copies. Dependency resolution using PubGrub algorithm. Wheel building from source. Constraint files and extras. CI/CD integration. Cross-platform on Linux, macOS, and Windows. Open source under Apache-2.0.

Tags & Categories

Categories

Statistics

2
Views
0
Clicks
0
Like
0
Dislike

Comments

Log In to post a comment

No comments yet. Be the first!