🎁 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

Class
A blueprint for creating objects that bundles data (attributes) and behavior (methods) together.
Pytest
A testing framework for Python that simplifies writing and running tests with powerful features like fixtures and parametrize.
Dataclass
A decorator that automatically generates __init__, __repr__, __eq__, and other special methods for classes that mainly store data.
ABC (Abstract Base Class)
A class that defines a common interface for subclasses by declaring abstract methods that must be implemented.
Scikit-learn
The most popular Python machine learning library providing simple and efficient tools for data analysis and modeling.
Decorator
A function that modifies or extends the behavior of another function or class without changing its source code.
View All Python Terms →