talira

Python dependency management and packaging made easy

open sourceMITself-hostablefree

Poetry is a tool for dependency management and packaging in Python. You declare the libraries your project depends on in a pyproject.toml (PEP 621), and Poetry resolves, installs and updates them, writing a lock file so every install is repeatable. It replaces setup.py, requirements.txt, setup.cfg, MANIFEST.in and Pipfile with that one project file, keeps each project in its own isolated virtual environment, and builds and publishes packages to PyPI or private repositories. It supports dependency groups, private package sources and plugins, and runs on Linux, macOS and Windows with Python 3.10 or later. It's MIT licensed.

Problems it solves

  • manage my Python project's dependencies with a lock file so everyone gets the same versions
  • replace setup.py and requirements.txt with one pyproject.toml
  • build and publish my Python library to PyPI
  • keep each Python project in its own virtual environment automatically
  • install packages from our private Python package index

Features

  • dependency declaration in pyproject.toml (PEP 621)
  • dependency resolver and lock file
  • isolated virtual environments per project
  • build and publish to PyPI and private repositories
  • dependency groups
  • plugins
  • shell tab completion

Capabilities

Has a command line toolplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what Poetry does.

  1. uv An extremely fast Python package and project manager, written in Rust.
  2. pip The package installer for Python
  3. Conda Package, dependency and environment manager for any language
  4. Cargo The Rust package manager
  5. npm The package manager for JavaScript

Compare Poetry with the top 3