I would like to export a lot of abstract and normal classes from C++ to Python. It is essentially a whole package coded in C++ and would like it to be ran in Python. Instead of individually wrapping each classes, is there a way to easily wrap them and have them work in Python?
boost python and pybind11 allow you to "export" C++ classes as python object. Both propose similar approaches based on templates. Pybind11 solution is said to be easier to use. If you use Microsoft toolchain, you can refer to this page to see how to design/build python bindings using pybind11: