astral-sh / uv
git clone https://github.com/astral-sh/uv.git
0.13.4 · 3d ago
🔥 on GitHub Trending today
A Rust-based Python package and project manager that handles dependencies, virtualenvs, scripts, tools, and Python versions.
Why you might care
Replaces pip, pip-tools, pipx, poetry, pyenv, twine, and virtualenv with one binary, and is claimed to be 10-100x faster than pip. It provides a universal lockfile, a pip-compatible interface, and a global cache for disk efficiency.
+49
stars, 24h · #793
+~250
stars, 7 days · #906
+~1.1k
stars, 30 days · #775
91k
★ total · +0% this week
3.7k
forks · 3.0k open issues
Star history (as recorded here)
LanguageRust
LicenseApache-2.0
Created2023-10-02 (3y ago)
Last pushtoday
Watchers198
OwnerOrganization
Seen on GitHub Trending
- 2026-10-23 — #10 daily in rust · +59 ★
GitHub topics
Links
- GitHub: github.com/astral-sh/uv
- Homepage: https://docs.astral.sh/uv
- Releases · Issues · Hacker News mentions
README excerpt
# uv An extremely fast Python package and project manager, written in Rust. Installing Trio 's dependencies with a warm cache. ## Highlights - A single tool to replace `pip`, `pip-tools`, `pipx`, `poetry`, `pyenv`, `twine`, `virtualenv`, and more. - 10-100x faster than `pip`. - Provides comprehensive project management, with a universal lockfile. - Runs scripts, with support for inline dependency metadata. - Installs and manages Python versions. - Runs and installs tools published as Python packages. - Includes a pip-compatible interface for a performance boost with a familiar CLI. - Supports Cargo-style workspaces for scalable projects. - Disk-space efficient, with a global cache for dependency deduplication. - Installable without Rust or Python via `curl` or `pip`. - Supports macOS, Linux, and Windows. uv is backed by Astral, the creators of Ruff and ty. ## Installation Install uv with our standalone installers: [code] [code] Or, from PyPI: [code] [code] If installed via the standalone installer, uv can update itself to the latest version: [code] See the installation documentation for details and alternative installation methods. ## Documentation uv's documentation is available at docs.astral.sh/uv. Additionally, the command line reference documentation can be viewed with `uv help`. ## Features ### Projects uv manages project dependencies and environments, with support for lockfiles, workspaces, and more, similar to `rye` or `poetry`: [code] See the project documentation to get started. uv also supports building and publishing projects, even if they're not managed with uv. See the publish guide to learn more. ### Scripts uv manages dependencies and environments for single-file scripts. Create a new script and add inline metadata declaring its dependencies: [code] Then, run the script in an isolated virtual environment: [code] See the scripts documentation to get started. ### Tools uv executes and installs command-line tools provided by Python packages, similar to `pipx`. Run a tool in an ephemeral environment using `uvx` (an alias for `uv tool run`): [code] Install a tool with `uv tool install`: [code] See the tools documentation to get started. ### Python versions uv installs Python and allows quickly switching between versions. Install multiple Python versions: [code] Download Python versions as needed: [code] Use a specific Python version in the current directory: [code] See the Python installation documentation to get started. ### The pip interface uv provides a drop-in replacement for common `pip`, `pip-tools`, and `virtualenv` commands. uv extends their interfaces with advanced features, such as dependency version overrides, platform-independent resolutions, reproducible resolutions, alternative resolution strategies, and more. Migrate to uv without changing your existing workflows — and experience a 10-100x speedup — with the `uv pip` interface. Compile requirements into a platform-independent requiremen
Blurb generated by claude-haiku-5-5 today. Star deltas marked ~ are extrapolated from partial history.