Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

IIIF Image API reference implementation

Project Description

iiif - A Python library providing a reference implementation of the International Image Interoperability Framework: Image API 2.1 (and versions 2.0, 1.1, 1.0). Also includes a test server using the library to implement the Image API transformations dynamically, and a static file generator to pre-compute tiles necessary for OpenSeadragon which may then be stored a static files.


The library, test server, static file generator are all designed to work with Python 2.6, 2.7, 3.4, 3.5 and 3.6. Manual installation is necessary to get the demonstration documentation and examples.

Automatic installation from PyPI

The iiif library code and scripts are listed in PyPI and can be installed with pip or easy_install, e.g.:

easy_install iiif

The PyPI version does not include all demonstration documentation and examples.

Manual installation from github

First, clone the code and examples from the Github repository:

cd /tmp
git clone git://
cd iiif/

Second, install Pillow (a fork of PIL):

pip install 'Pillow<4.0.0'
  • Pillow is tied to <4.0.0 to remain compatible with python 2.6. This code may work with later versions but is not being tested with them
  • You may need sudo if installing system-wide as opposed to in a user-space environment

After installation of Pillow there will be be a summary of image formats supported. Addition libraries may be require to get all formats depending on your platform.

The scripts and demonstrations can then be run from the iiif directory.

Finally, you may install the library code and scripts locally in the appropriate places within your python setup using:

python build
python install
  • You may need sudo to if installing system-wide as opposed to in a user-space environment

The source code is maintained on Github

See also

Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
iiif-1.0.4.tar.gz (543.4 kB) Copy SHA256 Checksum SHA256 Source Apr 21, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting