Tripoli: IIIF Presentation API validator

122 views
Skip to first unread message

Alex Parmentier

unread,
Aug 8, 2016, 2:44:56 PM8/8/16
to IIIF Discuss

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:


  1. Two levels of validation: Warning and Error. Validation does not stop at the first error, but continues for the entire document.

  2. 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!)

  3. 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


Development of Tripoli was supported by the Social Sciences and Humanities Research Council of Canada, through the Single Interface for Music Score Searching and Analysis project. Find out more at https://simssa.ca.

Eyal Reuven

unread,
Aug 17, 2016, 4:23:55 AM8/17/16
to IIIF Discuss
Alex and Andrew,
I've looked into your validator - you've done a very good job!

Thanks for sharing!

-Eyal
Reply all
Reply to author
Forward
0 new messages