For example, it would be nice to be able to do this:
from ctypes import CDLL
mylib = CDLL(\'/my/path/mylib.so\',header=\'/some/path/mylib.h\')
I asked myself the same question and before I traveled down that road too far, I ran into ctypesgen:
http://code.google.com/p/ctypesgen/
It will handle all of this for you, although you will need to do a little learning up front. We use ctypesgen to generate one version of the Python bindings for the Subversion bindings. It works very well.