What is Poetry?
A modern Python dependency management and packaging tool that handles virtual environments, locking, and publishing.
Poetry replaces pip + virtualenv + setup.py with a single tool. It uses pyproject.toml for configuration and poetry.lock for reproducible installs. Commands include poetry add (install package), poetry install (from lock file), and poetry shell (activate venv).
Poetry resolves dependency conflicts automatically, separates development and production dependencies, and can build and publish packages to PyPI. It is the modern standard for Python project management.