experimental new dataclass interfaces in piffle.iiif_dataclasses thanks to @rwood-97
- Add dataclasses for parsing IIIF Presentation and Image APIs.
- New
collect_annotationsmethod to collect annotations on a presentation
- New
- Now supports IIIF Presentation API and Image API version 3.
- Adds
load_iiif_imageandload_iiif_presentationfunctions for loading IIIF into dataclasses.
NOTE: new dataclasses do not yet replace the existing default API; interface and package structure may change in future releases.
- Add explicit support for and testing against python 3.13 (thanks to @rettinghaus)
- HTTP request method
get_iiif_urlis now a class method onpiffle.presentation.IIIFPresentation, which can be extended when request customization is needed - Manifests now supports attr-dict style access to
@idinseeAlsolist entries
- Add explicit support and testing for python 3.12
- Now supports python 3.8-3.11; dropped support for Python versions 3.6, 3.7
- Converted setup.py to pyproject.toml
- The alias for accessing
piffle.imageviapiffle.iiifhas been removed - Setup pre-commit hooks and adopted Ruff+Black style formatting
- Dropped support for Python versions 2.7, 3.4, 3.5
- Now tested against python 3.7 and 3.8
- Moved continues integration from Travis-CI to GitHub Actions
- Renamed
piffle.iiiftopiffle.image, but for backwards compatibilitypiffle.iiifwill still work - Now includes
piffle.presentationfor simple read access to IIIF Presentation content
- Dropped support for Python 3.3
- Now Python 3 compatible
- URI canonicalization for size, region, rotation, and URL as a whole
- Bug fix: chaining multiple different options combines all of them properly and does not modify the original image object.
- New methods to parse urls and provide image option information. Contributed by Graham Hukill (@ghukill) PR #1
- New method to parse a IIIF Image url and initialize IIIFImageClient via url
- New methods to make IIIF Image options available as dictionary
- Options are now stored internally in logical, dictionary form rather than as IIIF option strings
Initial alpha release, extracting basic IIIF Image API client from readux codebase
- Image client can handle custom id and generates urls for json info, and custom sizes and formats.