Skip to content

RISE-UNIBAS/metagrapho-tropy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metagrapho-tropy

Add transcriptions to items in Tropy using the Transkribus metagrapho API.

DOI

Creator

This software was created by the University of Basel's Research and Infrastructure Support RISE (rise@unibas.ch) in 2023.

File structure and data overview

Note that there are different versions of this software, see the changelog for details.

Quickstart

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)

To dos

  • add tutorial
  • add metadata on transcription provenance
  • add unittests for Client.process_tropy and Client.download.
  • release package on PyPi

License

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.