🎁 New User? Get 20% off your first purchase with code NEWUSER20 Register Now →
Menu

Categories

Python Intermediate

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.

Related Terms

Celery
A distributed task queue for Python that enables asynchronous processing of background jobs and scheduled tasks.
Docstring
A string literal placed as the first statement in a module, class, or function to document its purpose and usage.
FastAPI
A modern, high-performance Python web framework for building APIs with automatic OpenAPI documentation and type validation.
Python Property
A built-in decorator that lets you define methods that behave like attributes, enabling controlled access to instance data.
SQLAlchemy
The most popular Python SQL toolkit and ORM that provides a full suite of database abstraction patterns.
Python Packaging with Poetry
A modern dependency management and packaging tool for Python that simplifies project setup, versioning, and publishing.
View All Python Terms →