Skip to main content

nanobind logo

nanobind is a small binding library that exposes C++ types in Python and vice versa. It is reminiscent of Boost.Python and pybind11 and uses near-identical syntax. In contrast to these existing tools, nanobind is more efficient: bindings compile in a shorter amount of time, produce smaller binaries, and have better runtime performance.

More concretely, benchmarks show up to ~4× faster compile time, ~5× smaller binaries, and ~10× lower runtime overheads compared to pybind11. nanobind also outperforms Cython in important metrics (3-12× binary size reduction, 1.6-4× compilation time reduction, similar runtime performance).

Please see the following links for tutorial and reference documentation in HTML and PDF formats.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nanobind-3.0.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nanobind-3.0.0-py3-none-any.whl (316.4 kB view details)

Uploaded Python 3

File details

Details for the file nanobind-3.0.0.tar.gz.

File metadata

  • Download URL: nanobind-3.0.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for nanobind-3.0.0.tar.gz
Algorithm Hash digest
SHA256 68583c41d58af77649b830407d2ba84627f21f07ad4ae2e32c6988fb96eaa71a
MD5 bd8a10ab91de8c91af627f7b3e5cc819
BLAKE2b-256 d8375f136054cfdba93e763d956898048a21997b7478ccadcfec6dfebf4b72aa

See more details on using hashes here.

File details

Details for the file nanobind-3.0.0-py3-none-any.whl.

File metadata

  • Download URL: nanobind-3.0.0-py3-none-any.whl
  • Upload date:
  • Size: 316.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for nanobind-3.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3808620334b1e7e647d71feb1bf525496216b48ee2a8cd4c4a31ae1f1cbb1c6f
MD5 567463e2d0183aa317f65f973e2372a9
BLAKE2b-256 338bcbd87788012d98179686ecdce7d73d154e277c50859458157ec5575c0352

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

3.0.0 This release

2 files

2.15.0

2 files

2.14.0

2 files

2.13.0

2 files

2.12.0

2 files

2.11.0

2 files

2.10.2

2 files

2.10.1

2 files

2.10.0

2 files

2.9.2

2 files

2.9.1

2 files

2.9.0

2 files

2.8.0

2 files

2.7.0

2 files

2.6.1

2 files

2.6.0

2 files

2.5.0

2 files

2.4.0

2 files

2.2.0

2 files

2.1.0

1 file

2.0.0

1 file

1.9.2

1 file

1.8.0

1 file

1.7.0

1 file

1.6.2

1 file

1.6.1

1 file

1.6.0

1 file

1.5.2

1 file

1.5.1

1 file

1.5.0

1 file

1.4.0

1 file

1.3.2

1 file

1.3.1

1 file

1.3.0

1 file

1.2.0

1 file

1.1.1

1 file

1.1.0

1 file

1.0.0

1 file

0.3.1

1 file

0.3.0

1 file

0.2.0

1 file

0.1.0

1 file

0.0.9

1 file

0.0.8

1 file

0.0.7

1 file

0.0.6

1 file

0.0.5

1 file

0.0.4

1 file

0.0.3

1 file

0.0.2

1 file

0.0.1

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page