A Python dependency manager and packaging tool that uses pyproject.toml for declarative configuration, deterministic resolution via poetry.lock, and integrated virtualenv management.
Poetry replaces the older pip + requirements.txt + setup.py workflow with a single tool. It resolves dependencies into a lockfile (poetry.lock) for reproducible installs, manages virtualenvs automatically, and publishes packages to PyPI. The pyproject.toml format is the modern Python standard (PEP 518/621), so Poetry's config interoperates with other tools like Ruff and Mypy that read the same file.
Pinning a Django + DRF API project's dependencies in pyproject.toml + poetry.lock so every developer + CI gets identical package versions.
Poetry standardizes how Python teams ship reproducible builds — critical for any project with more than one contributor or any production deployment.
Need help implementing this in your business?
Get Started