explaingit

astral-sh/uv

Analysis updated 2026-05-18

84,446RustAudience · developerComplexity · 3/5LicenseSetup · easy

TLDR

A fast Python package and project manager written in Rust that replaces pip, poetry, pipx, and other fragmented tools with a single command, 10, 100× faster.

Mindmap

mindmap
  root((uv))
    What it does
      Manages dependencies
      Resolves versions
      Creates lockfiles
      Installs Python
    How it works
      Virtual environments
      Disk caching
      Inline scripts
      CLI tools
    Use cases
      Speed up workflows
      Unify tooling
      Reproduce setups
      Run scripts
    Tech stack
      Rust
      Python
    Audience
      Python developers
      Project maintainers
Click or tap to explore — scroll the page freely

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Speed up Python dependency installation and project setup by 10, 100× compared to pip.

USE CASE 2

Replace multiple fragmented tools (pip, poetry, pipx, pyenv) with a single unified command.

USE CASE 3

Write and run single-file Python scripts with inline dependency declarations.

USE CASE 4

Install and manage command-line tools published as Python packages without polluting your system.

What is it built with?

RustPython

How does it compare?

astral-sh/uvzed-industries/zedopenai/codex
Stars84,44681,96780,397
LanguageRustRustRust
Setup difficultyeasyhardeasy
Complexity3/54/52/5
Audiencedeveloperdeveloperdeveloper

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min
Use freely for any purpose including commercial. Keep the notice and disclose changes to the patent grant.

In plain English

uv is a tool that helps Python developers handle everything around installing packages and running projects, but does it dramatically faster than the older tools that come with Python. Python comes with a built-in installer called pip, and over the years a whole ecosystem of helper tools grew up around it for managing dependencies, virtual environments, multiple Python versions, and publishing packages. uv aims to replace that whole grab-bag of tools with one program, and because it is written in Rust rather than Python, it can be ten to a hundred times faster for typical operations. The features the README highlights include managing entire projects with a universal lockfile that records exactly which package versions to install, running standalone Python scripts that declare their own dependencies inline, installing and switching between Python versions, and running command-line tools published as Python packages in throwaway environments. It also offers a pip-compatible interface so teams can keep their existing commands and config files but still get the speed boost. A global cache deduplicates downloads across projects to save disk space, and Cargo-style workspaces let you scale up to many related packages in one repository. You would reach for uv when waiting on pip is slowing down your day, when juggling Python versions and virtual environments has become tedious, or when you want one consistent workflow for solo scripts, big projects, and CLI tools alike. It installs on macOS, Linux, and Windows via a standalone installer or through pip itself, and is built by the makers of the Ruff linter.

Copy-paste prompts

Prompt 1
How do I migrate my existing pip/poetry project to use uv for faster dependency management?
Prompt 2
Show me how to use uv to create a virtual environment and install dependencies from a requirements file.
Prompt 3
How can I use uv to run a Python script with inline dependencies without creating a full project?
Prompt 4
What's the fastest way to set up a new Python project with uv and lock dependencies for reproducibility?
Prompt 5
How do I use uv to install and run a command-line tool published on PyPI in an isolated environment?

Frequently asked questions

What is uv?

A fast Python package and project manager written in Rust that replaces pip, poetry, pipx, and other fragmented tools with a single command, 10, 100× faster.

What language is uv written in?

Mainly Rust. The stack also includes Rust, Python.

What license does uv use?

Use freely for any purpose including commercial. Keep the notice and disclose changes to the patent grant.

How hard is uv to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is uv for?

Mainly developer.

Open on GitHub → Explain another repo

This repo across BitVibe Labs

Scan in gitsafehub Deploy in gitdeployhub astral-sh on gitmyhub

Verify against the repo before relying on details.