<div><span class="nfakPe">PyBindGen</span> 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.</div>
<br>It can be downloaded from:<br><br> <a href="http://code.google.com/p/pybindgen/" target="_blank">http://code.google.com/p/<span class="nfakPe">pybindgen</span>/</a><br><br>Bug reports should be filed here:<br>
<br> <a href="https://bugs.launchpad.net/pybindgen" target="_blank">https://bugs.launchpad.net/<span class="nfakPe">pybindgen</span></a><br>
<br><br clear="all">=== pybindgen 0.10 ===<br><br> - New null_ok, default_value options for pointer-to-class parameters;<br><br> - Thread safety fixes;<br><br> - Map C++ operator() into Python's tp_call (__call__);<br>
<br> - Initial support for std containers (except mapping containers);<br><br> - Generate __copy__ methods for classes with copy constructor;<br><br> - Add 'wrapper registry' optional feature (off by default): allows<br>
C++ instances returned by pointer to be consistently wrapped<br> always by the same Python wrapper, so that the 'is' operator can<br> be used for identity testing;<br><br> - New C type expression parser, is_const not longer needed for<br>
parameter types, just put const in the type string as<br> appropriate;<br><br> - Sort the declarations returned by (py)gccxml. If generating<br> python script files from gccxml scanning, now the output file<br>
becomes more stable and less prone to move declarations up and<br> down with different people scanning and the output file is under<br> version control;<br><br> - Map binary comparison operators (< <= == >= >) from C++ to Python;<br>
<br> - Map some binary numeric operators (+ - * /) from C++ to Python;<br><br> - Allow installation of pybindgen even if no C/C++ compiler is detected;<br><br> - Fix compatibility with older Python versions (tested with 2.3, 2.4, and 2.5)<br>
<br>-- <br>Gustavo J. A. M. Carneiro<br>INESC Porto, Telecommunications and Multimedia Unit<br>"The universe is always one step beyond logic." -- Frank Herbert<br>