piffle
piffle copied to clipboard
python library for generating and parsing IIIF Image API URLs
### 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 -...
This PR adds a ruff.toml and fixes when running pre-commit. @rlskoeser please feel free to edit these! Once this PR is merged I will add back into my dev branch...
**Is your feature request related to a problem? Please describe.** I'm trying to interface with an IIIF server that considers the `full` URLs 400-worthy, so piffle just doesn't work properly...
Would be good to add docs/examples of how to use the new dataclasses added in v0.7.0. Could also add a case study (e.g. How are they used in MapReader).