🎁 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

Python Profiling
Measuring where Python code spends time and memory to identify performance bottlenecks and optimization opportunities.
Python Typing Module
A standard library module providing type hints for function signatures and variables, enabling static analysis without runtime enforcement.
Uvicorn
A lightning-fast ASGI server for Python, commonly used to serve FastAPI and other async web applications.
Logging Module
Python's built-in module for recording diagnostic information with configurable handlers, formatters, and log levels.
Decorator
A function that modifies or extends the behavior of another function or class without changing its source code.
Python Package
A directory containing Python modules and an __init__.py file, providing a way to organize and distribute reusable code.
View All Python Terms →