Cython is an optimizing static compiler for both the Python programming language and the extended Cython programming language (based on Pyrex). It makes writing C extensions for Python as easy as Python itself. Write Python code that calls back and forth from and to C or C++ code natively at any point. Easily tune readable Python code into plain C performance by adding static type declarations, also in Python syntax. Use combined source code level debugging to find bugs in your Python, Cython, and C code. ...
Pex adds to Pyrex, or Cython, the ability to write C fast numerics using numpy.ndarray, frees you from Makefiles and header files, and makes your Pyrex classes serializable, through both pickling and a much faster scheme.
A collection of tools for working with Pyrex, including the following:
pyximport - Allows just-in-time compilation of Pyrex modules included from Python code.
pyxtest - Platform-independent Pyrex distribution testing tool.