๐ŸŽ 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

Asyncio
A Python library for writing concurrent code using async/await syntax for non-blocking I/O operations.
NumPy
A fundamental library for numerical computing in Python, providing efficient multi-dimensional arrays and mathematical operations.
Pydantic
A data validation library that uses Python type annotations to validate and serialize data with automatic error reporting.
Pandas
A powerful data analysis and manipulation library providing DataFrames and tools for working with structured data.
Enum
A built-in class for creating enumerated constants โ€” named groups of related values that improve code readability.
Python Coroutine
A function defined with async def that can be paused and resumed, enabling concurrent execution without threads.
View All Python Terms โ†’