Skip to main content

IIIF Image API reference implementation

Project description

Build status Test coverage

iiif - IIIF Image API reference implementation and Python library. Supports the International Image Interoperability Framework: Image API 2.1 and 3.0 (as well as legacy 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.

Installation

The library, test server, static file generator are all designed to work with recent versions of Python 3 and Python 2.7. Manual installation is necessary to get the demonstration documentation and examples.

Automatic installation from PyPI

The iiif library code and scripts are available from PyPI and can be installed with pip, e.g.:

pip 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://github.com/zimeon/iiif.git
cd iiif/

Second, install Pillow (a fork of PIL):

pip install Pillow

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 setup.py build
python setup.py 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

Contributing

Bug reports welcome as github issues.

See CONTRIBUTING.md for guidelines for contributing, and the list of contributors

See also

Project details


Download files

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

Source Distribution

iiif-1.0.10.tar.gz (694.8 kB view details)

Uploaded Source

Built Distribution

iiif-1.0.10-py3-none-any.whl (709.6 kB view details)

Uploaded Python 3

File details

Details for the file iiif-1.0.10.tar.gz.

File metadata

  • Download URL: iiif-1.0.10.tar.gz
  • Upload date:
  • Size: 694.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.6

File hashes

Hashes for iiif-1.0.10.tar.gz
Algorithm Hash digest
SHA256 1c9b201ef4f4382377dffcab2fc7de65520cebb90588c687fca857b4b6b4934c
MD5 e087745eb21a00e5caba1c74be7accd8
BLAKE2b-256 d4212111c1c341c7abb86997037b842e48beb7d6a17cc5de676656fdf82e4648

See more details on using hashes here.

File details

Details for the file iiif-1.0.10-py3-none-any.whl.

File metadata

  • Download URL: iiif-1.0.10-py3-none-any.whl
  • Upload date:
  • Size: 709.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.6

File hashes

Hashes for iiif-1.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 5f6fe853b0915d6ef66dd2f014f91907d26a132f29db7106e5fd7d951704d45a
MD5 7f7f445d36c415dfa9a5e4cc87d85bca
BLAKE2b-256 4deb93788b89d913cee3e0659cce3eff2d139ddc4cb3a23551e4106427059c15

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page