AI engineering glossary · Python advanced

What is poetry?

Poetry: A tool for managing Python projects that handles dependency resolution, virtual environments, lock files and packaging in one workflow, configured through pyproject.toml. It aims to make dependency handling and publishing to a package index a single tool's job.

Level: intermediateTopic: Python advanced

Poetry: an example

poetry add pandas installs pandas, updates pyproject.toml and records exact versions in poetry.lock.

Related terms

More Python advanced terms

Where you learn it

Poetry is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.