Automatic ctypes wrapper generator