$npx skillfedfor your agent

nanobind

nanobind: tiny and efficient C++/Python bindings

With conditionsPyPI Python ModulesReleased Aug 20264.2M downloads / mopermissive licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — nanobind-2.14.0-py3-none-any.whl
v2.14.0 · released 2026-08-07

Yes, if you need to bind C++ code to Python. The package is actively maintained, has no known vulnerabilities, installs with low friction, and offers a permissive license. The efficiency claims relative to pybind11 are significant enough to justify trying it for performance-critical bindings, though you should verify those claims match your specific use case.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a C++ compiler and build toolchain to compile C++ code being wrapped; the wheel itself installs without compilation.
  • Low friction: ships as a pre-built wheel.
  • Actively maintained with a release 7 days ago and 3668 repository stars.

License · maintenance · safety

permissive license (permissive) — Permissive license allows commercial and private use with minimal restrictions.

last release 2026-08-07 (7 days) · last repo commit 2026-08-12 · 3,668 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 4,225,726 downloads/mo, #2,358 on PyPI

Verify before relying

pip install nanobind==2.14.0

import nanobind as nb
# Use nanobind to wrap C++ code in Python bindings
  • Exact performance multipliers (4×, 5×, 10×) claimed in description against pybind11 and Cython—whether these hold across typical use cases
  • Whether nanobind supports all C++ standards and features that pybind11 or Cython cover, or if there are known gaps
Same gist for agents: .md · .json

What it is and what it does

nanobind is a C++/Python binding library designed to expose C++ types and functions in Python with minimal overhead. It follows syntax similar to Boost.Python and pybind11, making it familiar to developers who have used those tools. The core value proposition is efficiency: the description reports faster compilation times, smaller compiled binaries, and lower runtime performance penalties compared to pybind11 and Cython.

You use nanobind when you need to call C++ code from Python or wrap C++ libraries for Python consumption. It is a build-time tool—you write binding code that nanobind processes to generate Python-callable wrappers around your C++ components. The package itself installs without friction as a pre-built wheel, though actually using it requires a C++ compiler and build environment to compile your bindings.

Use it for

  • Wrap existing C++ libraries to make them callable from Python without rewriting them
  • Build high-performance Python extensions in C++ where pure Python is too slow
  • Create Python bindings for scientific or numerical C++ code with minimal runtime overhead
  • Integrate C++ game engines, graphics libraries, or real-time systems with Python applications

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need to bind C++ code to Python.

The package is actively maintained, has no known vulnerabilities, installs with low friction, and offers a permissive license. The efficiency claims relative to pybind11 are significant enough to justify trying it for performance-critical bindings, though you should verify those claims match your specific use case.

Install

nanobind on PyPI

Before you install

Low friction: ships as a pre-built wheel. Actively maintained with a release 7 days ago and 3668 repository stars.

Requires a C++ compiler and build toolchain to compile C++ code being wrapped; the wheel itself installs without compilation.

License in practice

Permissive license allows commercial and private use with minimal restrictions.

Quickstart

pip install nanobind==2.14.0

import nanobind as nb
# Use nanobind to wrap C++ code in Python bindings

Verify before relying

  • Exact performance multipliers (4×, 5×, 10×) claimed in description against pybind11 and Cython—whether these hold across typical use cases
  • Whether nanobind supports all C++ standards and features that pybind11 or Cython cover, or if there are known gaps

Package facts

Licensepermissive license permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 7 days since the last release
Last repo commit
First released
Downloads4,225,726 / month, #2,358 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Intended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseProgramming Language :: C++Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python ModulesTopic :: Utilities

Evidence: nanobind-2.14.0-py3-none-any.whl

Tags

Capabilities
C++ Python bindingsexpose C++ to Pythonefficient C++ wrapperPython C++ interoplightweight binding libraryC++ type wrappingfast Python C++ bridge
Topics
c++-python-interopbinding-generatorperformance-focused

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “fast Python C++ bridge”

  • nanobindnanobind exposes C++ types in Python and vice versa, enabling…
  • zodbpickleProvides a ZODB-compatible pickle interface that handles…
  • livekit-plugins-groqIntegrates Groq's fast inference API with LiveKit Agents, enabling…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also ccimport · pybind11 · pybind11-global · zxing-cpp · pccm · p4python · pytango · fast-simplification · cwrap