Several people have created scripts to parse header files and automatically produce Cython bindings.
cython-codegen
The is a tool called *cython-codegen* or *xml2cython.py* written by David Cournapeau - download it with git (a version control tool, apt-get install git):
git clone http://github.com/cournape/cython-codegen
It requires gcc_xml and codegenlib from ctypeslib (apt get install python-ctypeslib)
Related information:
xml2cython - http://cournape.wordpress.com/2008/12/05/97/
xml2cython - http://cournape.wordpress.com/2008/12/01/cython-codegen-cython-code-generator-from-gccxml-files/
gcc_xml - http://www.gccxml.org/HTML/Download.html
py_gcc_xml - http://sourceforge.net/projects/pygccxml/
fwrap
Automatically generate bindings for fortran files: http://fwrap.sourceforge.net/
cwrap
https://github.com/enthought/cwrap
h2pxd
Script by Evan Buswell http://groups.google.com/group/cython-users/browse_thread/thread/67c3c4443a9c98ca
