this is an alternative to cython, using just-in-time compilation. http://numba.pydata.org/ maybe that is easier to use and install than cython.