cppyy provides fully automatic, dynamic Python-C++ bindings by leveraging the Cling C++ interpreter and LLVM. It supports both PyPy (natively), CPython, and C++ language standards through C++17 (and parts of C++20).
Details and performance are described in this paper, originally presented at PyHPC'16, but since updated with improved performance numbers.
Full documentation: cppyy.readthedocs.io.
Notebook-based tutorial: Cppyy Tutorial.
For Anaconda/miniconda, install cppyy from conda-forge.
- Change log:
- https://cppyy.readthedocs.io/en/latest/changelog.html
- Bug reports/feedback:
- https://github.com/wlav/cppyy/issues