I have written a C++ library that depends on SymEngine (https://github.com/symengine/symengine).
This library API offers functions that have parameter and return variables of types of SymEngine, e.g. Symengine::Symbol.
I would like to make the functionality of this library also available in Python.
I would like to do that with pybind11.
SymEngine offers Python wrappers ("import symengine") and they do this via Cython,
see the corresponding git repo https://github.com/symengine/symengine.py.
For my goal I think two crucial steps are:
How can I access the SymEngine C++ objects from the corresponding Python wrappers?
How can I create a SymEngine Python wrapper object to work with in Python from a C++ object?