direnv
Load and unload environment variables automatically when you cd into a project.
An extremely fast Python package and project manager.
No votes yet. Tried it? Be the first to say.
One vote per person. No account needed.
uv installs packages, manages virtualenvs, lockfiles, Python versions and CLI tools from one binary, typically 10-100x faster than pip.
pip + pip-tools + virtualenv + pyenv + pipx + poetry
Any Python project, script or tool install.
uv init, uv add and uv sync manage pyproject.toml, a cross-platform uv.lock and the virtualenv for you.
uv pip install and uv pip compile are drop-in, much faster replacements for pip and pip-tools.
uv python install 3.12 downloads and manages Python itself; no pyenv needed.
uvx ruff runs a CLI tool in a throwaway environment; uv tool install installs it globally, like pipx.
Inline dependency metadata (PEP 723) lets uv run script.py fetch what the script needs automatically.
Monorepo workspaces, plus a global cache with hard links that makes new environments near-instant.
curl -LsSf https://astral.sh/uv/install.sh | sh # or: winget install astral-sh.uv
uv init api && cd api
uv add fastapi "uvicorn[standard]"
uv run uvicorn main:app --reloaduv add updates pyproject.toml, resolves and writes uv.lock, and syncs .venv. Teammates and CI run uv sync to get exactly the same environment.
# /// script
# requires-python = ">=3.12"
# dependencies = ["httpx", "rich"]
# ///
import httpx
from rich import print
print(httpx.get("https://api.github.com").json())uv run fetch.py # creates a cached environment with httpx and rich, then runs
uv add --script fetch.py pandas # add a dependency to the script's headeruv venv
uv pip install -r requirements.txt
uv pip compile requirements.in -o requirements.txt # replaces pip-toolsuv sync --frozen gives fast, reproducible builds.uvx is short for uv tool run: uvx black ., uvx httpie.uv run removes "did you activate the venv?" confusion; it always uses the project environment.curl -LsSf https://astral.sh/uv/install.sh | sh
uv init demo && cd demo
uv add requests
uv run main.py The built-in baseline, universally supported but slow and with no lockfile.
A popular project manager with lockfiles; slower, with its own conventions.
Standards-based project managers with plugin ecosystems.
Single-purpose tools for CLI installs and Python versions.
Other tools that share topics with uv.
Load and unload environment variables automatically when you cd into a project.
A free, open-source machine translation API you can host yourself.
Spin up real databases and services in Docker from inside your tests.