shows the code needed to interface a c++ singleton into python using cython