Tutorials for wrapping C++ code with python by 'extending'. Each folder is a tutorial in it's own.
Since each folder is a tutorial and they have pretty random names, so if you are just gettgin started or exploring start reading folder descriptions:
-
/rectangle
: writing a simpleRectangle
class in C++ andPyRectangle
class in Cython to initialise with some values and return certain attributes. -
/pybind11_ex
: examples built using pybind11 library based on boost, simpler does not usecmake
. -
/account
: simple account transaction module, uses pybind11 and usescmake
. -
/game_sample
: taking experimentation to another level by creating a small world built using multiple files. Learned how to build bigger projects and not just a few files. Proper foldering and compilation usingcmake
andmake
. The idea is to see if multiple files can be used to make package cython.