Choices and example of wrapping C++ code into Python

In 2019, I started a new project on my github. This project list most popular approaches to wrap C and C++ classes into Python modules.

pybind11
boost-python
swig
cython
cffi
cppyy

There are codes for C++ sources, setup.py and CMake integration example. I hope this project could be helpful somehow.

https://github.com/qingfengxia/python_wrap

This entry was posted in Uncategorized. Bookmark the permalink.