HACKER Q&A
📣 Areading314

What is the best way to wrap C++ for Python in 2019


There seem to be MANY ways to to this: cython, swig, using Python.h directly, etc.

What is the easiest way to get a nice C++/Python development workflow going?


  👤 ryansmccoy Accepted Answer ✓
I asked this question a few weeks ago to someone at a conference who uses both C++ and Python and if I remember correctly his recommendation was Pybind11

https://pybind11.readthedocs.io/