Environment : C++, Python, SWIG
Problem :
C++ : I have different shared library(.so) files which share common base class.
SWIG: I can have a wrapper for each .so file & can use corresponding .py in python module. But, this makes lot of interface files & also lot of import statements in python.
Expected: I would like to have best possible design in the interface, so that having only one interface file & python uses just one module to access all different shared libraries.