{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/5"}],"enrichment":{"capability":"PyBindGen generates clean C or C++ code that wraps C/C++ libraries as Python modules, without requiring Boost.Python or external runtime libraries.","skillfed_tags":["binding-generation","c-cpp-interop"],"use_cases":["Wrapping a legacy C library to make it accessible from Python without rewriting it","Exposing a C++ class hierarchy as a Python module while preserving virtual method dispatch","Generating bindings for a templated C++ class to use from Python code","Creating a Python interface to a performance-critical C function without manual binding code","Maintaining existing PyBindGen-generated modules in a stable codebase"],"what_it_does":"PyBindGen is a code generator that reads C or C++ function and class definitions and produces Python extension code that wraps them. Instead of writing binding code by hand or using a template-heavy system like Boost.Python, you describe your API in Python and PyBindGen emits clean, self-contained C or C++ code that can be compiled into a Python module. The generated code has no external dependencies beyond Python headers.\n\nThe package supports a wide range of binding scenarios: simple functions, classes with virtual methods, reference-counted objects, templated classes, multiple inheritance, and in/out/inout parameters. It can optionally parse C++ headers using gccxml if available. However, it does not support converting Python exceptions to C++ or implementing callbacks, and the project has been inactive since early 2023.","worth_installing":"Yes, if you need to generate or maintain Python bindings for C/C++ code and have no active development requirements. The package is stable and has no known vulnerabilities, but it is abandoned\u2014no new features or bug fixes since 2022. Install it only for existing projects or when you are confident the generated code will not need updates. For new binding projects, consider actively maintained alternatives."},"id":"pybindgen","links":{"html":"https://skillfed.io/packages/pybindgen","md":"https://skillfed.io/packages/pybindgen.md","pypi":"https://pypi.org/project/pybindgen/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2022-03-30","license_spdx":null,"license_treatment":"copyleft","name":"PyBindGen","python_support":"unspecified","summary":"Python Bindings Generator"},"popularity":{"monthly_downloads":82662,"position":14146,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.22.1"}
