basic cython wrapper script