the Python package manager with PEP 621 support and a pnpm-like cache

AI-generated summary of reporting by GitHub Opensource Projects. Read the original for the full story.

Why it matters

PDM gives Python developers a standards-compliant alternative to Poetry and Pipenv whose optional pnpm-style central cache saves disk space and speeds up installs across projects.

Read this as

PDM is a free, open-source tool that manages the libraries a Python project depends on, similar to the popular tools Pipenv and Poetry. It follows the official Python standard for describing a project, so your project files stay portable instead of being locked to one tool's format. Its standout trick is a shared central store of packages, borrowed from the JavaScript tool pnpm, that saves disk space and speeds up repeat installs. It affects developers who maintain multiple Python projects.

PDM is an open-source Python dependency manager that competes with Poetry and Pipenv without replacing them for everyone, and the article is candid about that niche. Its gains are concrete for teams juggling many projects: standards-based metadata, faster handling of large binary packages like numpy and pandas, and lower disk usage via a central cache. There are no costs, funding, or adoption figures given. Switching is optional and low-risk; incumbents remain fine.

PDM is a Python package and dependency manager supporting PEP 517 builds and PEP 621 pyproject.toml metadata, with its own build backend, removing setuptools or flit. It hard-links packages from an opt-in central cache (enabled via PDM_USE_CENTRAL_CACHE), reducing disk use and speeding repeat installs, pnpm-style. It resolves dependencies quickly for large binary distributions and can install interpreters from astral-sh's python-build-standalone. Installable via PyPI or pipx; no benchmark numbers are provided.

Read the original

This summary exists to save you time, not to replace the source.

Key terms

PDM Poetry Pipenv pnpm python-build-standalone pyproject.toml

Was this summary useful?

One click, anonymous. It tells us which summaries to re-run.

Related reading