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-2.15.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-2.15.0-py3-none-any.whl (271.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nanobind-2.15.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-2.15.0.tar.gz
Algorithm Hash digest
SHA256 3eace37a3b8cdadd531fcc6145263985b29821467161d34ff722b0644cf445b5
MD5 638c0b45b652937963ea82264718427f
BLAKE2b-256 0d08cef3343279d2bde0baa57aadaacf7196ee336f12449c50c27f799c45b3f7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for nanobind-2.15.0-py3-none-any.whl
Algorithm Hash digest
SHA256 91dae9305c6242cf63ab11a5c41594e234e7a22fd9fcc2c5c4ba80724abc1787
MD5 c3b4edb8d817997503e03ef2c2ff9390
BLAKE2b-256 d87216a606cbea58be568475f450ece121b3fd62cffb390fd0f8eb8b410904f5

See more details on using hashes here.

Release history Release notifications | RSS feed

3.0.0

2 files

This release

2.15.0 This release

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