piffle icon indicating copy to clipboard operation
piffle copied to clipboard

Add IIIIF dataclasses

Open rwood-97 opened this issue 10 months ago • 0 comments

Summary

Review #26 first

This PR adds dataclasses for parsing various different types of IIIF presentation/image API files.

Needed for MapReader IIIF development (https://github.com/maps-as-data/MapReader/pull/554)

Describe your changes

  • Adds iiif_dataclasses with methods for reading presentation2, presentation3, image2 and image3 apis.
  • Adds load_iiif.py
  • Updates pre-commit/ruff

Checklist before assigning a reviewer (update as needed)

  • [ ] Self-review code
  • [ ] Ensure submission passes current tests
  • [ ] Add tests
  • [ ] Update relevant docs
  • [ ] Update changelog

Reviewer checklist

Please add anything you want reviewers to specifically focus/comment on.

  • [ ] Everything looks ok?

rwood-97 avatar Feb 20 '25 13:02 rwood-97