Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.dev2.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.dev2-py3-none-any.whl (309.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nanobind-3.0.0.dev2.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.dev2.tar.gz
Algorithm Hash digest
SHA256 423e81e8564d08fd78c9c7da76206776b42eb4c60e865fa4ae79166a299a2ee7
MD5 5c4db6bb78da39fdc033d3e20ea45325
BLAKE2b-256 6d8369a4af7ad078102c26f5fbd6e382c1f78f6510fd1a730554baa8f3c09894

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nanobind-3.0.0.dev2-py3-none-any.whl
  • Upload date:
  • Size: 309.8 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.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 ca4806bdc687237e71151733a9111f7906e026907e3060579471ae9e79ea1215
MD5 77613a47fde811f6acc1c827c181e64e
BLAKE2b-256 3252d51c0d7c6ef2a975a55efce4baa9841f2a7cf8c95536d52fb2194db453b2

See more details on using hashes here.

Release history Release notifications | RSS feed

3.0.0

2 files

This release

3.0.0.dev2 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