Published March 24, 2020 | Version v0.2.1

genpybind 0.2.1

  • 1. Kirchhoff-Institute for Physics, Heidelberg University, Germany
  • 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

Files (262.3 kB)

Name Size
md5:a08b74108b788263e9c1d9fbbcca6d75
262.3 kB Preview Download

Additional details

Related works

Funding

European Commission
HBP SGA2 - Human Brain Project Specific Grant Agreement 2 785907
European Commission
HBP SGA1 - Human Brain Project Specific Grant Agreement 1 720270