Search across all documentation pages
11 pages in this section.
What "installing a package" actually changes on disk, how the interpreter decides which code an import statement runs, and why every tool in this section - venv, uv, Poetry, PDM - is managing the same underlying model.
Learn Python environments and packaging basics. Explore 10 examples covering virtual environments, pip, and project initialization with uv.
Learn to use uv, the fast, all-in-one Python package manager. Replace pip, venv, and pip-tools with a single CLI for new and existing projects.
Compare Poetry and PDM for Python project management. Learn how to use them for dependency resolution, lockfiles, virtual environments, and publishing.
Learn how to use pyproject.toml as the central configuration file for Python projects, managing metadata, dependencies, and build settings.
Manage multiple Python versions on one machine using uv or pyenv. Learn to install, pin, and test different interpreters for development and CI.
Learn how editable installs with pip install -e and src/ layouts enable immediate code changes and reliable imports for Python projects.
Learn best practices for isolated, reproducible, and team-friendly Python environments. Apply rules for project setup, dependency management, and CI.
A single-page roundup of every highlight bullet from the 10 pages in the Environments section, grouped by source page so you can scan all 59 takeaways without opening each article individually.