
Rye Has a Free Python Tool That Replaces pip, venv, pyenv, and Poetry — One Binary Does It All
The Python Tooling Problem To start a Python project in 2025, you need: pyenv to manage Python versions venv or virtualenv to create environments pip to install packages pip-tools or poetry for lockfiles setuptools or hatchling for building That's 5 tools to do what should be 1. Rye is that 1 tool. Written in Rust by the creator of Flask (Armin Ronacher). What Rye Gives You Python Version Management # Install any Python version rye pin 3.12 rye pin cpython@3.11 rye pin pypy@3.10 # Auto-downloads the right Python. No pyenv needed. Project Setup rye init my-project cd my-project Creates pyproject.toml , .python-version , and a virtual environment. Everything configured. Dependency Management # Add dependencies rye add flask requests rye add --dev pytest black # Lock and sync rye sync Generates a lockfile. Installs exact versions. Reproducible builds. Scripts # pyproject.toml [tool.rye.scripts] dev = "flask run --debug" test = "pytest -v" lint = "ruff check ." rye run dev rye run test Glo
Continue reading on Dev.to Python
Opens in a new tab

