pkg.soopen package index

brew / 排名 547

使用 Homebrew, MacPorts, pacman, apt, dnf 安装 pybind11

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

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install pybind11

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install pybind11

MacPorts ports tree · devel/pybind11/Portfile · 来源: api.github.com

Linux

Arch Linux pacman已验证 · 92%
sudo pacman -S pybind11

Arch Linux sync databases · pybind11 · 来源: geo.mirror.pkgbuild.com

Debian apt已验证 · 92%
sudo apt install pybind11-dev

Debian stable package indexes · pybind11-dev · 来源: deb.debian.org

Fedora dnf已验证 · 92%
sudo dnf install pybind11-devel

Fedora Rawhide package metadata · pybind11-devel · 来源: dl.fedoraproject.org

概览

软件包摘要

Seamless operability between C++11 and Python

命令和别名

  • pybind11-config
  • pybind11-config-3.13
  • pybind11-config-3.14

历史

项目历史与用法

pybind11 is a lightweight, header-only C++ library for creating Python bindings and embedding Python in C++ applications.

项目历史

Wenzel Jakob created pybind11 to provide Boost.Python-like binding syntax without depending on the large Boost suite. C++11 features made a compact header-only implementation possible, and the project subsequently expanded beyond its original Boost.Python-inspired feature set through broad community contributions.

采用历史

pybind11 became a widely packaged foundation for Python extension modules, with distribution through PyPI, conda-forge, Homebrew, Debian/Ubuntu, Fedora, Arch, MacPorts, vcpkg, and other C++ and Python ecosystems. Its header-only design makes vendoring and build-system integration straightforward.

使用方式

Developers include pybind11 headers, define extension modules with its macros and C++ API, and build them with systems such as CMake, Meson, setuptools, Bazel, or scikit-build. It supports functions, classes, inheritance, exceptions, smart pointers, callbacks, embedding, and NumPy-aware conversions.

为什么软件包爱好者会关心

pybind11 occupies a key boundary between the C++ and Python package worlds. Maintainers value its small header-only footprint, compile-time type introspection, NumPy integration, CMake helpers, and substantially lower boilerplate than direct use of the Python C API.

时间线

  • 2015: Wenzel Jakob created pybind11.
  • 2017: The stable documentation series and 2.x generation established the project's modern API lineage.
  • 2025: pybind11 3 introduced a new major-version generation while retaining its header-only binding model.

Related projects

  • Boost.Python was the principal design comparison and motivation.
  • The Python C API is the lower-level interface pybind11 wraps.
  • Cython, SWIG, nanobind, cppimport, scikit-build, CMake, Meson, and NumPy occupy related binding or build-system niches.

来源

  • Official changelog: https://pybind11.readthedocs.io/en/stable/changelog.html
  • Official documentation: https://pybind11.readthedocs.io/en/stable/
  • Official first-steps guide: https://pybind11.readthedocs.io/en/stable/basics.html
  • source_facts.package-manager

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 1 个平台目标。
  • 构建元数据列出 3 个构建依赖。

建议审查

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

可执行文件

已安装的可执行文件

命令类型暴露范围备注
pybind11-configcli全局可执行文件
pybind11-config-3.13cli全局可执行文件
pybind11-config-3.14cli全局可执行文件

新鲜度

版本和新鲜度

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

页面生成时间2026-09-19
管理器版本3.1.0
管理器更新时间2026-08-07
本地数据OK
上游当前
检测到的最新版本v3.1.0

https://github.com/pybind/pybind11

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:pybind11
版本3.1.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/pybind11
主页https://github.com/pybind/pybind11
仓库https://github.com/pybind/pybind11
许可证BSD-3-Clause
源码归档https://github.com/pybind/pybind11/archive/refs/tags/v3.1.0.tar.gz
最后更新2026-08-07T03:06:32Z
Pulseupdated
构建依赖cmake, python@3.13, python@3.14
Bottle可用 (于 all)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

源数据库匹配

其他软件包管理器记录

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

Debian apt95%

pybind11-dev 2.13.6-2

seamless operability between C++11 and Python

https://github.com/pybind/pybind11

sudo apt install pybind11-dev
  • Section: libdevel
  • Architecture: all
  • Source Package: pybind11
  • 1 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Pybind11
Debian stable package indexes · deb.debian.org · Debian stable package indexes: pybind11-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

pybind11-doc 2.13.6-2

documentation for pybind11

https://github.com/pybind/pybind11

sudo apt install pybind11-doc
  • Section: doc
  • Architecture: all
  • Source Package: pybind11
  • 1 依赖
  • normalized package name match
  • 匹配方式:Pybind11
Debian stable package indexes · deb.debian.org · Debian stable package indexes: pybind11-doc from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Debian apt95%

python3-pybind11 2.13.6-2

pybind11 helper module for Python 3

https://github.com/pybind/pybind11

sudo apt install python3-pybind11
  • Section: python
  • Architecture: all
  • Source Package: pybind11
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Pybind11
Debian stable package indexes · deb.debian.org · Debian stable package indexes: python3-pybind11 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Ubuntu apt95%

pybind11-dev 2.11.1-2

seamless operability between C++11 and Python

https://github.com/pybind/pybind11

sudo apt install pybind11-dev
  • Section: universe/libdevel
  • Architecture: all
  • Source Package: pybind11
  • 1 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Pybind11
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: pybind11-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

pybind11-doc 2.11.1-2

documentation for pybind11

https://github.com/pybind/pybind11

sudo apt install pybind11-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: pybind11
  • 1 依赖
  • normalized package name match
  • 匹配方式:Pybind11
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: pybind11-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

python3-pybind11 2.11.1-2

pybind11 helper module for Python 3

https://github.com/pybind/pybind11

sudo apt install python3-pybind11
  • Section: universe/python
  • Architecture: all
  • Source Package: pybind11
  • 2 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Pybind11
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: python3-pybind11 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
dnf95%

pybind11-devel 3.0.4-7.fc45

Development headers for pybind11

https://github.com/pybind/pybind11

sudo dnf install pybind11-devel
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: i686
  • Source Package: pybind11
  • 3 依赖
  • 4 提供
  • normalized package name match
  • 匹配方式:Pybind11
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: pybind11-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
dnf95%

python3-pybind11 3.0.4-7.fc45

Development headers for pybind11

https://github.com/pybind/pybind11

sudo dnf install python3-pybind11
  • License: BSD-3-Clause
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: pybind11
  • 2 依赖
  • 5 提供
  • normalized package name match
  • 匹配方式:Pybind11
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: python3-pybind11 from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/652278618dec9c023176a80c435a32a2c8154869fb0eb662c267a54df28d77d9-primary.xml.zst
pacman95%

pybind11 3.1.0-1

A lightweight header-only library that exposes C++ types in Python and vice versa

https://pybind11.readthedocs.org/

sudo pacman -S pybind11
  • License: BSD-3-Clause
  • Architecture: any
  • 1 依赖
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Pybind11
Arch Linux sync databases · geo.mirror.pkgbuild.com · Arch Linux sync databases: pybind11 from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz
MacPorts95%

pybind11

sudo port install pybind11
  • normalized package name match
  • 匹配方式:Pybind11
MacPorts ports tree · api.github.com · MacPorts ports tree: devel/pybind11/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

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

使用的来源

  • Geiger risk classifier
  • cross-ecosystem install command graph
  • 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