libvips/python
John Cupitt d3b29f9cd2 start gobject-introspection experiments
messing about with gi for python bindings
2011-06-20 08:31:20 +01:00
..
README add experimental ctypes Python binding 2011-06-17 14:50:14 +01:00
finalizable.py new python cleanups 2011-06-18 13:34:52 +01:00
test.py cleanups before attempting gobject base 2011-06-18 17:47:56 +01:00
test_gobject.py start gobject-introspection experiments 2011-06-20 08:31:20 +01:00
vipsimage.py start gobject-introspection experiments 2011-06-20 08:31:20 +01:00
vipsobject.py cleanups before attempting gobject base 2011-06-18 17:47:56 +01:00

README

Experimental Python binding using ctypes

The current Python binding uses swig to wrap the C++ interface. This causes
problems on Windows, since compiling all of the DLLs correctly to work with
the various python binaries is painful, and makes the bainding very large.

The idea here is to use ctypes to make a binding that's just Python and which
directly wraps the C API. The new vips8 C API is much more wrapper-friendly,
plus we can reuse parts of the gobject binding, so this should be possible.