Comparison
Cython vs nanobind vs pythran vs shiboken2
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
The Cython compiler for writing C extensions in the Python language.
Actively maintained. Last release 7 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install cythonnanobind: 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 nanobindAhead of Time compiler for numeric kernels
Maintained. Last release 4 months ago, commits in 15 of the last 26 weeks. Weaker on release cadence and contributor spread.
pip install pythranPython / C++ bindings helper module
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install shiboken2In short
- shiboken2 looks abandoned: avoid it for new projects.
- Cython is the most used: 97.8M downloads a month, 36× more than nanobind.
- Maintenance is comparable: Cython 87, nanobind 84, pythran 67 on Pythie’s Index.
- pythran is growing fastest: downloads +15% over the last month.
- Safe default for a new project: Cython.
Side by side
| Metric | Cython | nanobind | pythran | shiboken2 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 87 | Pythie’s Index: 84 | Pythie’s Index: 67 | Pythie’s Index: 19 |
| Verdict | Actively maintained | Actively maintained | Maintained | Likely abandoned |
| Downloads / month | 97.8M | 2.7M | 626.9K | 88K |
| Downloads, month over month | +13% | +6% | +15% | +13% |
| GitHub stars | 10.9K | 3.8K | 2.1K | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 2K | 48 | 4 | 22 |
| Last release | Nov 25, 2026 | Sep 18, 2026 | Aug 17, 2026 | Jan 14, 2022 |
| Releases, 12 months | 12 | 15 | 1 | 0 |
| Weeks with commits | 26 / 26 | 19 / 26 | 15 / 26 | – |
| Recent contributors | 21 | 14 | 7 | – |
| First release | Aug 2007 | Feb 2022 | Aug 2012 | Dec 2018 |
| Python versions | 3.9 – 3.14 | – | – | 3.5 – 3.10 |
| License | Apache-2.0 | non-standard | BSD-3-Clause | GFDL-1.3 OR GPL-2.0 OR GPL-3.0 OR GPL-3.0-or-later OR LGPL-3.0 |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.