// package-management
Python dependency management and packaging in one tool
Poetry is a Python dependency management and packaging tool that consolidates setup.py, requirements.txt, and Pipfile into a single pyproject.toml. It provides deterministic builds via a lockfile, automatic virtual environment management, and one-command PyPI publishing.
Python data engineers use Poetry to standardize project setup across the team — running `poetry install` from a cloned repo installs all pinned dependencies in an isolated virtual environment in one step, eliminating environment drift between machines. The `poetry add pandas==2.0` command adds a package, resolves its transitive dependencies against the full graph, and updates `poetry.lock` atomically, preventing the 'it works on my machine' problem. For pipeline projects with separate concerns, `poetry add --group dev pytest great-expectations` keeps test and quality tooling out of the production install. Teams publishing internal data libraries to a private PyPI registry use `poetry publish --repository private-pypi` to handle build and upload in a single authenticated step.
Poetry is a Python dependency management and packaging tool that consolidates setup.py, requirements.txt, and Pipfile into a single pyproject.toml. It provides deterministic builds via a lockfile, automatic virtual environment management, and one-command PyPI publishing.
Yes, Poetry is free to use.
Poetry is listed under the Package Management category on Python Data Engineering.
// contains affiliate links
Details
Related
| Tool | Pricing | Rating | |
|---|---|---|---|
UV uvnew Extremely fast Python package manager written in Rust | Free | ★ 4.8 | → |
PI pip Python Package Installer | Free | ★ 4.7 | → |
VV virtualenv / venv Virtual Environment Manager | Free | ★ 4.6 | → |