Cppyy – Automatic Python-C++ bindings

Cppyy – Automatic Python-C++ bindings

cppyy is an automatic Python-C++ bindings generator, for calling C++ from Python and Python from C++, designed for large scale programs in high performance computing that use modern C++. Consider this session, showing dynamic, interactive, mixing of C++ and Python features (more examples are in the tutorial):

With a modern C++ compiler having its back, cppyy is future-proof. The Boost library is well known for its no holds barred use of modern C++ and heavy use of templates:

And yes, there is no reason to use Boost from Python (in fact, this example calls out for pythonizations), but it shows that cppyy seamlessly supports many advanced C++ features.

Source: cppyy.readthedocs.io