pybind11

Install command:
brew install pybind11

Seamless operability between C++11 and Python

https://github.com/pybind/pybind11

License: BSD-3-Clause

Development: Pull requests

Formula JSON API: /api/formula/pybind11.json

Formula code: pybind11.rb on GitHub

Bottle (binary package) installation support provided.

Current versions:

stable ✅ 3.1.0

Revision: 1

Depends on when building from source:

cmake 4.5.0 Cross-platform make
python@3.14 3.14.10 Interpreted, interactive, object-oriented programming language
python@3.15 3.15.2 Interpreted, interactive, object-oriented programming language

Binaries: pybind11-config, pybind11-config-3.13, pybind11-config-3.14

GitHub Packages downloads:

Last 30 days63,998
Downloads2,301,212
Analytics install events (30 days)5,611
Downloads / install events (30 days)11.4×

Source: GitHub Packages, fetched 2026-11-18T00:59:44Z. Analytics dates: 2026-10-19 to 2026-11-18. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs5,60913,90771,708
Installs (--HEAD)2632
Installs on Request4611,4159,395
Installs on Request (--HEAD)0210
Build Errors33