Add transcriptions to items in Tropy using the Transkribus metagrapho API.
This software was created by the University of Basel's Research and Infrastructure Support RISE (rise@unibas.ch) in 2023.
Note that there are different versions of this software, see the changelog for details.
- Python package in
/metagrapho_tropy
- documentation here and in
/docs
- sample data in
/sample
- tests in
/tests
To go from this
To this
Use this
from metagrapho_tropy.client import Client
Client().process_tropy(tropy_file_path="sample_input.json",
item_type="Foto",
item_image_index=1)
Client().download(mapping_file_path="mapping_input.csv")
Client().enrich_tropy(tropy_file_path="sample_input_updated.json",
download_file_path="download_input.json",
lines=True)
- add tutorial
- add metadata on transcription provenance
- add unittests for
Client.process_tropy
andClient.download
. - release package on PyPi
This work is licensed under a Creative Commons Attribution 4.0 International License.