Pyrex lets you write code that mixes Python and C data types any way you want, and compiles it into a C extension for Python.

WWW: http://www.cosc.canterbury.ac.nz/greg.ewing/python/Pyrex/
