pybind11

Wrapping C and C++ Code for Python

Wrapping native code lets you keep Python’s ergonomics while calling into compiled code for performance-critical paths, hardware drivers, legacy libraries, or numerical algorithms.