wjakob/nanobind
nanobind: tiny and efficient C++/Python bindings observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 99
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1667
- days_rel: n/a
- days_push: 8
- n_releases_24m: 0
Adoption not part of the score
3691 stars · 322 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
nanobind is a small C++ library for creating Python bindings of C++ types and functions, with syntax nearly identical to pybind11 and Boost.Python. It offers significantly faster compilation, smaller binaries, and lower runtime overhead than pybind11 or Cython.
Use cases
- expose c++ library to python
- create python bindings for c++ code
- replace pybind11 with faster alternative
- reduce binary size of python extension modules
- speed up compilation of c++ python bindings
- call c++ from python
When to choose
- you need high-performance C++/Python interop with minimal overhead
- pybind11 compile times or binary sizes are a bottleneck
- you want pybind11-like syntax with better runtime performance
When to avoid
- you need a very mature ecosystem with extensive third-party examples and plugins
- your project already works fine with pybind11 and performance is not critical
- you need pure C bindings rather than C++
Facets
library · maturity stable
sdk developer-tools compiler developer-tools programming-languages performance python cpp cross-platform bindings pybind11 c-plus-plus python-bindings interop
1 source
- readme: https://github.com/wjakob/nanobind · fetched 2026-08-28 · de868f4af941
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| wjakob/nanobind | main | 77 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem