
uv Has a Free API — The Python Package Manager That's 100x Faster Than pip
TL;DR uv by Astral (makers of Ruff) is a Python package manager written in Rust that replaces pip, pip-tools, pipx, poetry, pyenv, and virtualenv. It's 10-100x faster and works as a drop-in replacement. What Is uv? uv is the all-in-one Python toolchain: 100x faster than pip — Rust-powered resolution and installation Replaces everything — pip, pip-tools, poetry, pyenv, virtualenv, pipx Python version management — install and manage Python versions Lockfile — reproducible installs with uv.lock Scripts — run single-file Python scripts with dependencies Free — MIT/Apache 2.0 Quick Start # Install uv curl -LsSf https://astral.sh/uv/install.sh | sh # Create a new project uv init my-project cd my-project # Add dependencies uv add fastapi uvicorn sqlalchemy # Run your app uv run python main.py # Or run directly uv run fastapi dev Replace pip # Instead of: pip install requests uv pip install requests # Instead of: pip install -r requirements.txt uv pip install -r requirements.txt # Instead of:
Continue reading on Dev.to Python
Opens in a new tab


