Cython is able to speedup pure Python code of about 20% apparently, without code change.
The only needed adaptation is to add some statements to setup.py which, if cython is installed could convert some or all Python source files to C, the compile them.
In a second stage, it would also be possible to add Cython decorators for static typing in the Python file. These decorators are ignored by the interpreter.