just an idea:
Can you maybe run the c++ part your program within your main python program. You can do that by looking at the answers in this [Calling an external command in Python. You can use Adapter design pattern to pre-process the output in your c++ program so it becomes compatible with the data structures used in your main python program and vice-versa.