0
votes

I am writing a program that heavily utilizes a the python API of a C++ project. I cannot change the dll/pyd files, so what is the best way to implement typing for the various objects in python?

The best solution I can see right now is to manually declare these objects using @protocol or abc.

I was looking for stub files: python.org/dev/peps/pep-0484/#stub-filesT. Viola