Skip to content

Example of wrapping a C++ class to be used in python using the C-API

License

Notifications You must be signed in to change notification settings

ajjimeno/cpp-python-c-api

Repository files navigation

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

About

Example of wrapping a C++ class to be used in python using the C-API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published