← All repositories
79,476 stars2,577 forksRustapache-2.00 views
docs.astral.sh/uv

Uv

Features

  • Dependency ManagementDependency Management — a named example documented in this learning resource.
  • Python Dependency ManagersManaging complex project dependencies, ensuring reproducible builds, and resolving version conflicts across multiple environments and platforms efficiently.
  • Python Package Manager InterfacesProjects help manage Python code spanning multiple files. Tip Looking for an introduction to creating a project with uv? See the [projects guide](https://docs.astral.sh/uv/guides/projects/) first. Working on projects is
  • Package Managersuv provides a drop-in replacement for common `pip`, `pip-tools`, and `virtualenv` commands. These commands work directly with the virtual environment, in contrast to uv's primary interfaces where the virtual environment
  • Python Package ManagersA high-performance tool for managing project dependencies, virtual environments, and package installations with rapid resolution and installation speeds.
  • Project Management ToolsProjects help manage Python code spanning multiple files. Tip Looking for an introduction to creating a project with uv? See the [projects guide](https://docs.astral.sh/uv/guides/projects/) first. Working on projects is
  • Monorepo ManagersCoordinating multiple interconnected Python packages within a single repository to simplify development, testing, and deployment of complex systems.
  • Dependency Declarationsuv provides a drop-in replacement for common `pip`, `pip-tools`, and `virtualenv` commands. These commands work directly with the virtual environment, in contrast to uv's primary interfaces where the virtual environment
  • Dependency ResolversProjects help manage Python code spanning multiple files. Tip Looking for an introduction to creating a project with uv? See the [projects guide](https://docs.astral.sh/uv/guides/projects/) first. Working on projects is
  • Lockfile GeneratorsLocking and Syncing — a named example documented in this learning resource.
  • Project ManagementProjects help manage Python code spanning multiple files. Tip Looking for an introduction to creating a project with uv? See the [projects guide](https://docs.astral.sh/uv/guides/projects/) first. Working on projects is
  • Virtual Environmentsuv provides a drop-in replacement for common `pip`, `pip-tools`, and `virtualenv` commands. These commands work directly with the virtual environment, in contrast to uv's primary interfaces where the virtual environment
  • Workspace OrchestratorsA comprehensive workspace orchestrator that manages multi-package repositories, dependency locking, and the creation of distributable Python artifacts.
  • Python Version ManagersA runtime-agnostic tool that handles the installation and switching of multiple Python interpreter versions across different development environments.
  • Python Runtime ManagersCheck out one of the core guides to get started: - [Installing Python versions](https://docs.astral.sh/uv/guides/install-python/) - [Running scripts and declaring dependencies](https://docs.astral.sh/uv/guides/scripts/)
  • Python Runtimes- [Versioning](https://docs.astral.sh/uv/reference/policies/versioning/) - [Platform support](https://docs.astral.sh/uv/reference/policies/platforms/) - [Python support](https://docs.astral.sh/uv/reference/policies/pytho
  • Package Management ToolchainsAccelerating CI/CD pipelines and local development cycles by replacing slow, legacy package management tools with high-speed, optimized alternatives.
  • Virtual Environment Managersuv provides a drop-in replacement for common `pip`, `pip-tools`, and `virtualenv` commands. These commands work directly with the virtual environment, in contrast to uv's primary interfaces where the virtual environment
  • Runtime DistributionsDownloads and manages isolated Python interpreter distributions to ensure consistent execution environments regardless of the host system's pre-installed software.
  • Content-Addressable CachesStores package artifacts in a global, deduplicated content-addressable store to minimize redundant downloads and disk usage across projects.
  • Command Line InterfacesA unified interface for executing scripts, managing environment configurations, and integrating with CI/CD pipelines for automated software delivery.
  • Workspace Metadata AggregatorsMaintains a unified view of multi-package repositories by resolving internal dependencies and shared configurations across a hierarchical project structure.
  • Hard-Link Environment ProvisioningCreates virtual environments by hard-linking files from a global cache, enabling near-instant environment creation without duplicating binary data.
  • Environment ManagersAutomating the creation, isolation, and management of virtual environments and Python runtimes for consistent development and production workflows.
  • Ephemeral ExecutionRunning standalone Python scripts with ad-hoc dependencies instantly, without the overhead of manual environment setup or global package installation.
  • CLI InterfacesThe reference section provides information about specific parts of uv: - [Commands](https://docs.astral.sh/uv/reference/cli/): A reference for uv's command line interface. - [Settings](https://docs.astral.sh/uv/reference
  • Compatibility Layersuv provides a drop-in replacement for common `pip`, `pip-tools`, and `virtualenv` commands. These commands work directly with the virtual environment, in contrast to uv's primary interfaces where the virtual environment
  • Credential ManagementAuthentication is required when working with private repositories or package indexes. Learn more about authentication in uv: - [Using the `uv auth` CLI](https://docs.astral.sh/uv/concepts/authentication/cli/) - [HTTP aut
  • Build SystemsBuilding Distributions — a named example documented in this learning resource.
  • Parallel Network I/OUtilizes asynchronous request handling to fetch package metadata and artifacts concurrently, significantly reducing the latency of large dependency installations.
  • WorkspacesWorkspaces — a named example documented in this learning resource.
  • Jupyter IntegrationsCheck out one of the core guides to get started: - [Installing Python versions](https://docs.astral.sh/uv/guides/install-python/) - [Running scripts and declaring dependencies](https://docs.astral.sh/uv/guides/scripts/)
  • Tool RunnersProjects help manage Python code spanning multiple files. Tip Looking for an introduction to creating a project with uv? See the [projects guide](https://docs.astral.sh/uv/guides/projects/) first. Working on projects is
  • Environment Inspection Toolsuv provides a drop-in replacement for common `pip`, `pip-tools`, and `virtualenv` commands. These commands work directly with the virtual environment, in contrast to uv's primary interfaces where the virtual environment
  • Installer OptionsThe reference section provides information about specific parts of uv: - [Commands](https://docs.astral.sh/uv/reference/cli/): A reference for uv's command line interface. - [Settings](https://docs.astral.sh/uv/reference
  • Workspace MetadataThe internals section provides details about uv's internal components and implementation details. - [Resolver](https://docs.astral.sh/uv/reference/internals/resolver/) - [Workspace Metadata](https://docs.astral.sh/uv/ref
  • GitHub ActionsCheck out one of the core guides to get started: - [Installing Python versions](https://docs.astral.sh/uv/guides/install-python/) - [Running scripts and declaring dependencies](https://docs.astral.sh/uv/guides/scripts/)