The Python module is created in C++ using the PyBind11 tool. This provides the abstraction layer between the C++ software apis i.e. the .hpp files and Python. The one file module.cpp contains the code to access all the Python financial models - these are split into clearly delineated sections within the file.