Skip to content

Latest commit

 

History

History
25 lines (13 loc) · 419 Bytes

README.md

File metadata and controls

25 lines (13 loc) · 419 Bytes

C++ to python using C-API

Example of wrapping a C++ class using the C-API

Installation

Clone repository

Install (DEAP)[https://github.com/DEAP/deap]:

pip install deap

Install the packages

python setup.py install

Example run

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