Poetry is “Python packaging and dependency management made easy.”It not only packages up your libraries easily but also isolates environments and resolves dependencies — all with an intuitive command line interface.
Managing a Python project can be overwhelming -- one can need anything from just a requirements.txt file to an array of other files: setup.py, setup.cfg, MANIFEST.in. The question for the new or unfamiliar developer can become, when to use what and why?
Poetry, one of the newer packaging and dependency management tools, was built by the author as "the one tool to manage [my] Python projects from start to finish". This is accomplished with a single configuration file, the PEP-518-recommended pyproject.toml.
In this tutorial, I will show how one can get started with Poetry for their new and existing projects.
DevOps, Infrastructure, Use Cases
Domain Expertise:none
Python Skill Level:basic
Link to talk slides: Abstract as a tweet:Learn how to make package and dependency management easier with Poetry.