Dear IIIF Community
Today we’re releasing Tripoli, a new Python validation module for IIIF Presentation API manifests (2+). Tripoli has been designed to provide flexibility and customizability for manifest validation applications, including aggregation services and quality control workflows.
Three key benefits of using Tripoli:
Two levels of validation: Warning and Error. Validation does not stop at the first error, but continues for the entire document.
Adaptability: A system that integrates Tripoli can be used to detect systematic errors from individual IIIF manifest providers and change its behaviour (log errors as warnings, or even provide automatic corrections!)
No external dependencies: Easy to install and with no dependencies on other modules.
We’ve set up a simple validator service at https://validate.musiclibs.net where you can see the results of a Tripoli validator first-hand. You can use this service in your own projects over a simple REST API, or easily install it using pip.
Tripoli emerged from our own needs developing the musiclibs.net aggregation service, but we found it so useful we thought we would share it with others. You can check out the source code on GitHub and read the documentation for more information.
If you find a bug, notice an issue with how we’ve interpreted the API, or would like to see a new feature, submit an issue on github.
Cheers,
Alex Parmentier
Andrew Hankinson