Example of wrapping a C++ class using the C-API
Clone repository
Install (DEAP)[https://github.com/DEAP/deap]:
pip install deap
Install the packages
python setup.py install
The C++ class can be evaluated running:
python test_cpp.py
There is as well an example python script with the same functionality:
python test_python.py