port of nr3python.h to cython