Published March 24, 2020
| Version v0.2.1
Software
Open
genpybind 0.2.1
Authors/Creators
- 1. Kirchhoff-Institute for Physics, Heidelberg University, Germany
Contributors
Project member (4):
- 1. Kirchhoff-Institute for Physics, Heidelberg University, Germany
Description
Autogeneration of Python bindings from manually annotated C++ headers
genpybind is a tool based on clang, which automatically generates the code which is necessary to expose a C++ API as a Python extension via pybind11. To reduce the complexity and required heuristics, it relies on additional manual hints that are added to the header file in the form of unobtrusive annotation macros. While this mandates that you are able to change the actual interface declaration, it results in a succinct file that describes both the C++ and Python interface of your library.
Files
kljohann/genpybind-v0.2.1.zip
Additional details
Related works
- Is supplement to
- https://github.com/kljohann/genpybind/tree/v0.2.1 (URL)