pkg.soopen package index

brew / 排名 1522

使用 Homebrew, Nix, apt 安装 pdm

查看 pdm 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install pdm

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#pdm

nixpkgs package indexes · pkgs/by-name/pd/pdm/package.nix · 来源: api.github.com

Debian apt已验证 · 92%
sudo apt install python3-pdm

Debian stable package indexes · python3-pdm · 来源: deb.debian.org

概览

软件包摘要

Modern Python package and dependency manager supporting the latest PEP standards

命令和别名

  • pdm

历史

项目历史与用法

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.

时间线

  • 2020: The 0.12 release line expanded scripts, exporting, PEP 582 integration, and lockfile handling.
  • 2021-01-05: PDM 1.0.0 was released.
  • 2023: Virtual environments were established as the recommended mode after PEP 582's rejection.
  • 2025: PDM documented experimental uv-backed resolution and installation.

Related projects

  • PEP 582 supplied PDM's original project-local package-layout idea, although the proposal was later rejected.
  • PDM can use uv experimentally as its resolver and installer.
  • Python packaging standards such as PEP 517, PEP 518, and PEP 621 underpin its build and project-metadata workflows.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:dependency manager

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 5 个平台目标。
  • 安装时包含 2 个运行时依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Linux
<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
macOS
<PROJECT_ROOT>/pdm.toml~/Library/Application Support/pdm/config.toml/Library/Application Support/pdm/config.toml~/Library/Application Support/pdm/global-project/pdm.toml
Windows
<PROJECT_ROOT>\pdm.toml%USERPROFILE%\AppData\Local\pdm\pdm\config.toml%ProgramData%\pdm\pdm\config.toml%USERPROFILE%\AppData\Local\pdm\pdm\global-project\pdm.toml

Credential files

Credential-bearing paths to review before unattended agent runs.

Linux
$XDG_CONFIG_HOME/pdm/config.toml~/.config/pdm/config.toml
macOS
~/Library/Application Support/pdm/config.toml
Windows
%USERPROFILE%\AppData\Local\pdm\pdm\config.toml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
pdmcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-11-04
管理器版本2.29.5
管理器更新时间2026-10-31
本地数据OK
上游not checked
检测到的最新版本未检测到

https://pdm-project.org

安装元数据

软件包元数据

软件包键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
Pulseupdated
依赖certifi, python@3.15
Bottle可用 (于 arm64_golden_gate, arm64_linux, arm64_sequoia, arm64_tahoe, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namepdm
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Debian apt95%

python3-pdm 2.20.1+ds1-2

next generation Python package management tool

https://github.com/pdm-project/pdm

sudo apt install python3-pdm
  • Section: python
  • Architecture: all
  • Source Package: pdm
  • 27 依赖
  • normalized package name match
  • 匹配方式:Pdm
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-pdm from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

pdm

nix profile install nixpkgs#pdm
  • normalized package name match
  • 匹配方式:Pdm
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/pd/pdm/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment
  • pkg.so package database
  • pkgdb category and tag curation