Py++ - Boost.Python code generator

Py++ is a code generator for Boost.Python that simplifies writing Python bindings of a C/C++ library. The tool is implemented as a Python module which is controlled by a user script.


In order to use Py++ you need the following additional components:

  • Python v2.7 (or higher)
  • pygccxml 1.9.0 (or higher)
  • CastXML


The package uses the Python distutils so you can do the usual procedure:

python setup.py install

For more information about using the distutils see the Python manual "Installing Python Modules".


For examples and tutorials see the Py++ web site. An API reference is available in the directory docs/apidocs in the source archive.

If you obtained the source code from the subversion repository you have to build the API reference yourself. This can be done using the setup script:

python setup.py doc

In order for this to work you need Sphinx and pygccxml.

accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)