Examples

unittests

Py++ has more then 110 tests and the number is growing. Consider to take a look on them. The tests names are descriptive, so it should be not too difficult to find the desired functionality.

“pyplusplus/examples” directory

The directory contains few well documented examples:

  • “pycrc” - Boost.Python based bindings for Boost.CRC library
  • “custom_code_creator” - Boost.Python based bindings, which explains how to build and integrate the user defined code creator. The example exposes a class “get/set” member functions as Python properties
  • “pygmplib” - ctypes based bindings for GMP library.

In order to see the geneated code and/or try it, execute “scons” in that directory.