.pyx
Cython previously pyrex is an extended form of the python programming language, which can be part-compiled into c code.
You compile the .pyx file into a .py file and a .c file.