Comparison
pybind11 vs shiboken2 vs sip
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Seamless operability between C++11 and Python
Actively maintained. Last release 4 months ago, commits in 22 of the last 26 weeks. A safe choice.
$
pip install pybind11Python / C++ bindings helper module
Likely abandoned. No release or commit for years (last release over 4 years ago).
$
pip install shiboken2A Python bindings generator for C/C++ libraries
Actively maintained. Last release 3 weeks ago, commits in 22 of the last 26 weeks. A safe choice.
$
pip install sipIn short
- shiboken2 looks abandoned: avoid it for new projects.
- pybind11 is the most used: 19.5M downloads a month, 135× more than sip.
- Maintenance is comparable: sip 83, pybind11 81 on Pythie’s Index.
- Safe default for a new project: pybind11.