Definition
A Python dependency manager and packaging tool that uses pyproject.toml for declarative configuration, deterministic resolution via poetry.lock, and integrated virtualenv management.
In Depth
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.
Example Usage
Pinning a Django + DRF API project's dependencies in pyproject.toml + poetry.lock so every developer + CI gets identical package versions.
Business Context
Poetry standardizes how Python teams ship reproducible builds, which is critical for any project with more than one contributor or any production deployment.
Also Known As
Tags
Quick Info
Need help implementing this in your business?
Get Started