macOS
brew install pdmlocal Homebrew formula metadata
安装
brew install pdmlocal Homebrew formula metadata
nix profile install nixpkgs#pdmnixpkgs package indexes · pkgs/by-name/pd/pdm/package.nix · 来源: api.github.com
sudo apt install python3-pdmDebian stable package indexes · python3-pdm · 来源: deb.debian.org
概览
Modern Python package and dependency manager supporting the latest PEP standards
历史
PDM is a Python package and project manager that manages dependencies, lockfiles, environments, scripts, builds, and publishing through modern Python packaging standards.
PDM was created around support for PEP 582's project-local `__pypackages__` layout. The project expanded beyond that origin into a full Python project and dependency manager supporting current packaging standards.
The 0.12 release line in late 2020 improved `pdm run`, exporting, Windows PEP 582 integration, and lockfile metadata. Version 1.0 followed in January 2021. Later development made virtual environments the default, broadened dependency groups, publishing, workspaces, interpreter management, and lock strategies, and introduced experimental use of uv as a resolver and installer.
PDM gained adoption as Python packaging moved toward `pyproject.toml`, standardized build interfaces, declarative metadata, and lockfile-based workflows. The supplied mappings record packages in Homebrew, Debian, and Nix.
Its continued support for both virtual environments and the PEP 582 `__pypackages__` layout helped distinguish it early on. After PEP 582 was rejected, PDM retained that mode as an opt-in feature while making conventional virtual environments the recommended default.
A typical workflow begins with `pdm new` or `pdm init`, adds dependencies with `pdm add`, records exact resolutions in `pdm.lock`, installs or synchronizes an environment with `pdm install` or `pdm sync`, and runs project commands with `pdm run`.
Library maintainers can build and upload distributions with PDM's build and publish commands. Teams generally commit `pdm.lock` when they want development and CI to reproduce the same resolution.
PDM is significant in Python package-manager culture because it combined standards-oriented project metadata, dependency resolution, locking, environment management, script execution, building, and publishing in one CLI.
Its history captures a transitional period in Python packaging: enthusiasm for PEP 582, consolidation around `pyproject.toml`, greater use of reproducible lockfiles, and later cooperation with high-performance tooling such as uv.
安全态势
infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
<PROJECT_ROOT>/pdm.toml$XDG_CONFIG_HOME/pdm/config.toml~/.config/pdm/config.toml$XDG_CONFIG_DIRS/pdm/config.toml/etc/xdg/pdm/config.toml$XDG_CONFIG_HOME/pdm/global-project/pdm.toml<PROJECT_ROOT>/pdm.toml~/Library/Application Support/pdm/config.toml/Library/Application Support/pdm/config.toml~/Library/Application Support/pdm/global-project/pdm.toml<PROJECT_ROOT>\pdm.toml%USERPROFILE%\AppData\Local\pdm\pdm\config.toml%ProgramData%\pdm\pdm\config.toml%USERPROFILE%\AppData\Local\pdm\pdm\global-project\pdm.tomlCredential-bearing paths to review before unattended agent runs.
$XDG_CONFIG_HOME/pdm/config.toml~/.config/pdm/config.toml~/Library/Application Support/pdm/config.toml%USERPROFILE%\AppData\Local\pdm\pdm\config.toml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
pdm | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:pdm |
|---|---|
| 版本 | 2.29.5 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/pdm |
| 主页 | https://pdm-project.org |
| 仓库 | https://github.com/pdm-project/pdm |
| 上游文档 | https://pdm-project.org |
| 许可证 | MIT |
| 源码归档 | https://files.pythonhosted.org/packages/81/a0/ebcb4bf939e3c1bba9fcb698ec8237868bdb9402461682baced71325e020/pdm-2.29.5.tar.gz |
| 最后更新 | 2026-10-31T06:04:35Z |
| Pulse | updated |
| 依赖 | certifi, python@3.15 |
| Bottle | 可用 (于 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | pdm |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
python3-pdm 2.20.1+ds1-2
next generation Python package management tool
https://github.com/pdm-project/pdm
sudo apt install python3-pdmpdm
nix profile install nixpkgs#pdm来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.