import extensions from cython