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

Uploaded Python 3

File details

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

File metadata

  • Download URL: nanobind-3.0.0.dev1.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.dev1.tar.gz
Algorithm Hash digest
SHA256 c4551f545b7ef952434819087d1b242d09b1d2f7fde836475b9c1ee6b54d9d37
MD5 fa3a38d9e904fd683144c671290d9d41
BLAKE2b-256 4de0ff25b21a25f97ccf5027c782cb345a2b508e4736f64d14806e6f56e1d542

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nanobind-3.0.0.dev1-py3-none-any.whl
  • Upload date:
  • Size: 303.1 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.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 515b6c2d85ca7cd11d02e151afe4e29f6f937566758fb9729711e7a64e9e5e3b
MD5 5ed82e82832c0eec7bbd0e4d57c4ef70
BLAKE2b-256 dd7b513e3358a4c1e5f687d3a510d644433c0ea9b22cb9f3feabda0b1070b405

See more details on using hashes here.

Release history Release notifications | RSS feed

3.0.0

2 files

This release

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