uv/docs/index.md
Zanie Blue 6492f1a897
A bundle of documentation changes (#5239)
I just need to iterate on everything and we're not doing a lot of
reviews anyway.

Closes #5234 
Closes #5191
2024-07-22 17:15:11 +00:00

3 KiB
Raw Blame History

An extremely fast Python version, package, and project manager, written in Rust.

Shows a bar chart with benchmark results.

Shows a bar chart with benchmark results.

Installing the Trio dependencies with a warm cache.

Highlights

  • 🐍 Installs and manages Python versions.
  • 🛠️ Executes and installs commands provided by Python packages.
  • ❇️ Runs scripts with inline dependency metadata.
  • 🗂️ Provides comprehensive project management, with a multi-platform lock file.
  • 🏢 Supports Cargo-style workspaces for large projects.
  • 🚀 A replacement for pip, pip-tools, pipx, poetry, pyenv, and more.
  • 10-100x faster than pip and pip-tools (pip-compile and pip-sync).
  • 🧪 Tested at-scale against the top 10,000 PyPI packages.
  • 💾 Disk-space efficient, with a global cache for dependency deduplication.
  • ⁉️ Best-in-class error messages with a conflict-tracking resolver.
  • A static binary that can be installed without Rust or Python via curl or pip.
  • 🖥️ Support for macOS, Linux, and Windows.

uv is backed by Astral, the creators of Ruff.

Replacement for pip and pip-tools

uv provides a drop-in replacement for common pip, pip-tools, and virtualenv commands with support for a wide range of advanced pip features, including editable installs, Git dependencies, direct URL dependencies, local dependencies, constraints, source distributions, HTML and JSON indexes, and more.

uv extends these interfaces with advanced features, such as dependency version overrides, multi-platform resolutions, reproducible resolutions, alternative resolution strategies, and more.

Getting started

Install uv with our official standalone installer:

# On macOS and Linux.
curl -LsSf https://astral.sh/uv/install.sh | sh

# On Windows.
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"

Then, check out the first steps or see more installation methods.