{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/11"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/5"}],"enrichment":{"capability":"A header-only C++ library that generates Python bindings for C++ code, mapping C++ types, functions, classes, and STL containers to Python with minimal boilerplate.","skillfed_tags":["c++-bindings","extension-modules","performance"],"use_cases":["Wrap existing C++ libraries to use them from Python without rewriting in Python.","Create high-performance Python extensions for computationally intensive code by writing the hot path in C++.","Integrate C++ libraries with NumPy arrays for seamless data exchange.","Expose C++ class hierarchies and virtual methods to Python, allowing subclassing and polymorphism.","Build Python packages that leverage legacy C++ codebases or third-party C++ libraries."],"what_it_does":"This is a header-only C++ library that exposes C++ types, functions, and classes to Python with minimal boilerplate code. It works by using compile-time introspection to infer type information, allowing binding code that is dramatically simpler than traditional extension modules. The library supports custom data structures, instance and static methods, overloaded functions, exceptions, enumerations, callbacks, iterators, custom operators, single and multiple inheritance, STL containers, smart pointers, and virtual methods. It also integrates with NumPy for efficient array handling and can automatically vectorize functions across array arguments.\n\nThe core implementation is compact\u2014only ~4K lines of code\u2014and depends only on Python (CPython 3.9+, PyPy, or GraalPy) and the C++ standard library. This makes it far lighter than comparable alternatives while offering comparable or superior functionality. Binaries are typically smaller by a factor of at least 2, with faster compile times. The library is actively maintained, widely used in scientific and systems projects, and supports modern Python versions.","worth_installing":"Yes. This is production-ready, actively maintained, and the standard choice for binding C++ to Python when wrapping existing C++ code or accelerating Python with compiled C++. Install it if building Python extensions in C++ or integrating C++ libraries into Python projects. Low install friction, permissive license, and zero runtime dependencies make it a safe, practical choice."},"id":"pybind11-global","links":{"html":"https://skillfed.io/packages/pybind11-global","md":"https://skillfed.io/packages/pybind11-global.md","pypi":"https://pypi.org/project/pybind11-global/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-06","license_spdx":"BSD-3-Clause","license_treatment":"permissive","name":"pybind11-global","python_support":"supports_current","summary":"Seamless operability between C++11 and Python"},"popularity":{"monthly_downloads":579435,"position":5918,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.1.0"}
