libvips/python
John Cupitt b4b8b8bd96 use bytes() for VipsBlob in python3 2014-12-11 13:08:14 +00:00
..
example add tiny demo prog 2014-12-10 15:03:33 +00:00
Makefile.am small cleanups 2014-12-10 15:31:22 +00:00
README.md add python3 support 2014-12-10 17:02:51 +00:00
Vips.py use bytes() for VipsBlob in python3 2014-12-11 13:08:14 +00:00
find_class_methods.py more Vips.py cleanups 2014-10-14 14:28:59 +01:00

README.md

vips8 binding for Python

This overrides file adds a few small helper functions to the gobject-introspection binding for libvips. It works with python2.7 and python3.4.

There's a chapter in the libvips API docs on these overrides, see "Using libvips from Python".

vips-x.y.z/test has a test suite. Again, the test suite works with python2.7 and python3.4.

Vips.py needs to be in the overrides directory of your gobject-introspection pygobject area, for example:

sudo cp Vips.py /usr/lib/python2.7/dist-packages/gi/overrides

or

sudo cp Vips.py /usr/lib/python3.4/dist-packages/gi/overrides