Comparison
nanobind vs pybind11 vs shiboken6
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
nanobind: tiny and efficient C++/Python bindings
Actively maintained. Last release 2 months ago, commits in 19 of the last 26 weeks. A safe choice.
$
pip install nanobindSeamless operability between C++11 and Python
Actively maintained. Last release 4 months ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install pybind11Python/C++ bindings helper module
Actively maintained. Last release 5 weeks ago. A safe choice.
$
pip install shiboken6In short
- pybind11 is the most used: 19.2M downloads a month, 3.5× more than shiboken6.
- Maintenance is comparable: nanobind 84, shiboken6 84, pybind11 82 on Pythie’s Index.
- Safe default for a new project: pybind11.