Overview
A package has been developed that allows you to operate the Omeka S REST API from Python.
https://github.com/wragge/omeka_s_tools
Furthermore, based on the above repository, I have created a repository with several additional features.
https://github.com/nakamura196/omeka_s_tools2
In this article, I will introduce this repository.
Usage
Please refer to the following page.
https://nakamura196.github.io/omeka_s_tools2/
This repository was developed using nbdev, which allows package development and documentation to proceed in parallel, and I found it to be a very convenient system.
Additionally Developed Features
IIIF Image URL Registration Feature
Omeka S has a feature for registering IIIF image URLs, but this registration feature was not implemented in this module. As shown below, a method for registering IIIF image URLs was added.
https://nakamura196.github.io/omeka_s_tools2/api.html#omekaapiclient.add_iiif_to_item
Item Set Addition Feature
The item set registration feature was not implemented in this module. As shown below, a method for registering item sets was added.
https://nakamura196.github.io/omeka_s_tools2/api.html#adding-item-sets
Summary
For features that will be additionally developed in the future, I hope to eventually integrate them into the original repository.
I would also like to introduce usage examples of the features developed this time in a separate article.
Specifically, by using a IIIF manifest file as input data and mechanically registering the image data contained within it to Omeka S using this module, and then further using Scripto, it becomes possible to create a transcription environment for those image data.