๐ŸŽ New User? Get 20% off your first purchase with code NEWUSER20 ยท โšก Instant download ยท ๐Ÿ”’ Secure checkout 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

Uvicorn
A lightning-fast ASGI server for Python, commonly used to serve FastAPI and other async web applications.
Python Wheel
A built distribution format (.whl) that allows faster installation of Python packages by avoiding the need for compilation.
Comprehension
A concise syntax pattern for creating collections by transforming and filtering items from iterables.
Context Manager
An object that manages resources by defining setup and cleanup actions using the with statement.
ABC (Abstract Base Class)
A class that defines a common interface for subclasses by declaring abstract methods that must be implemented.
Python Typing Module
A standard library module providing type hints for function signatures and variables, enabling static analysis without runtime enforcement.
View All Python Terms โ†’