Side by side
PDM vs Poetry
Both stand on package managers. Which one you can start free with, which one lets you read the code, and what each costs once you pay.
Free plan LinuxMacWindows
PDM brings project setup, dependency management, locking, and publishing into a Python-focused tool. Note the experimental status of PEP 582 and PEP 751 support, and check the installation instructions for the Python version relevant to your method.
Visit PDM Free plan LinuxMacWindows
Poetry covers dependency management, packaging, and publishing across major desktop operating systems. Account for its Python requirement and possible slower dependency resolution for some package sets.
Visit PoetryThe facts
| PDM | Poetry | |
|---|---|---|
| Free plan | Yes | Yes |
| Open source | Not published | Not published |
| Runs on | Linux, Mac, Windows | Linux, Mac, Windows |
| Lowest paid plan | Not published | Not published |
| Plans published | None | None |
| Maker | Not published | Not published |
| Website | pdm-project.org | python-poetry.org |
| On package managers | #30 of 93 | #34 of 93 |
PDM: what it does well
- Free to use
- Supports dependency locking
- Can initialize projects with pyproject.toml
- Works with several version-control sources
- Can import from Pipenv and Poetry
What to know first
- PEP 582 support is experimental and opt-in
- Installation documentation gives different Python minimums
- PEP 751 lockfile format is experimental
Poetry: what it does well
- Lockfiles support repeatable installs
- Builds source distributions and wheels
- Publishes to PyPI and private repositories
- Supports Linux, macOS, and Windows
What to know first
- Requires Python 3.10 or later
- Resolution can take time when PyPI JSON metadata is unavailable
- Credentials use auth.toml when no supported keyring is available
