Skip to main content

Poetry

Recommendation
Updated
Moved
TRIAL
2021-10-18

What is it

Poetry is a packaging and dependency management system for Python.

When to use it

Use Poetry in Python projects as soon as third party dependencies or distribution packaging is required. The recommended approach is to use Poetry over any other dependency management system.

It's also recommended to use Poetry in combination with pyenv for managing python versions. Given that pyenv has installed the version wanted, Poetry can be told to use it like so:

poetry use $(pyenv root)/versions/<PYTHON_VERSION>/bin/python

How to learn it

Head over to their introduction.