iiif-prezi3
iiif-prezi3 copied to clipboard
IIIF Presentation API 3 Python Library
If I wanted to add an annotation to an existing annotationPage I could call the add_annotation method as follows: ``` canvas.make_annotation(id=f"{URI_PRIFIX}/{identifier}", motivation="supplementing", target=c.id, anno_page_id=annotationPageId, body={"id": f"https://archive.org/download/{identifier}/{vttFile['name']}", "type": "Text", "format": "text/vtt",...
Implementing this recipe: https://iiif.io/api/cookbook/recipe/0219-using-caption-file/ Which has a label in the body. BodyItem should be added to the following list of classes: ### Potential bug location(s): https://github.com/iiif-prezi/iiif-prezi3/blob/aeed7b663d7e53674320c1b313085b16271b8c49/iiif_prezi3/helpers/add_label.py#L3
I'd like to generate manifests with prezi3 using choice to enable multiple images to be stacked on one canvas (Recipe 0033) . As far as I can see at the...
### Expected behaviour: In order to use `iiif-prezi3` to easily iterate over a list of manifests and create a new Collection manifest, I'd like to use the make_manifest() helper. Doing...
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. Release notes Sourced from actions/checkout's releases. v4.0.0 What's Changed Update default runtime to node20 by @takost in actions/checkout#1436 Support fetching without the --progress option...
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.8.8 to 1.8.10. Release notes Sourced from pypa/gh-action-pypi-publish's releases. v1.8.10 :bug: What's Fixed @woodruffw fixed decoding OIDC claims in debug output on failure by applying correct padding...
Picking up on an idea I used during my [dogfooding of the "Introduction to `iiif-prezi3`" lightning talk](https://digitaldogsbody.net/iiif/prezi3): due to the structure of the recipes, there are a lot of `id`...
Allow AnnotationPageRef to be used now it is in the skeleton
Per https://iiif.io/api/presentation/3.0/#53-canvas, "Referenced, external Annotation Pages must have the id and type properties." This suggests to me that AnnotationPages appearing in `items` can be done so by reference. The `AnnotationPageRef`...
Implements an optional `exclude_context` method to calls to `.json()`, and restructures the base class to wrap the json/jsonld calls the other way around. Closes #128