IIIF Image API reference implementation
Project description
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
https://github.com/zimeon/iiif – git repository
https://github.com/zimeon/iiif/tree/main/demo-static – Static File Demo with OpenSeadragon
https://github.com/zimeon/iiif/tree/main/demo-auth – IIIF Authentication API Demo
Copyright and License
iiif library and programs implementing the IIIF API Copyright (C) 2012–2021 Simeon Warner
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
See LICENSE.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c9b201ef4f4382377dffcab2fc7de65520cebb90588c687fca857b4b6b4934c |
|
MD5 | e087745eb21a00e5caba1c74be7accd8 |
|
BLAKE2b-256 | d4212111c1c341c7abb86997037b842e48beb7d6a17cc5de676656fdf82e4648 |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f6fe853b0915d6ef66dd2f014f91907d26a132f29db7106e5fd7d951704d45a |
|
MD5 | 7f7f445d36c415dfa9a5e4cc87d85bca |
|
BLAKE2b-256 | 4deb93788b89d913cee3e0659cce3eff2d139ddc4cb3a23551e4106427059c15 |