PyBindGen is a Python module that is geared to generating C/C++ code that binds a C/C++ library for Python. It does so without extensive use of either C++ templates or C pre-processor macros. It has modular handling of C/C++ types, and can be easily extended with Python plugins. The generated code is almost as clean as what a human programmer would write.
It can be downloaded from:
Bug reports should be filed here:
- Lots of small bug fixes - Custodian/ward-style memory management works better now - Add 'reference_existing_object' and 'return_interal_reference' options for pointer/reference return values - New Sphinx based documentation