Transkribus Metagrapho API Client.
Project description
Transkribus Rest API Client
Python bindings for the Transkribus REST API.
Usage
from transkribus_rest_api import transkribus_rest_api
from transkribus_rest_api.types import UploadPage
with transkribus_rest_api(USERNAME, PASSWORD) as api:
api.upload_document(COLLECTION_ID,
"Test title",
pages=[
UploadPage(image=IMAGE_PATH, page_xml=PAGE_XML_PATH, page_nr=1)
UploadPage(image=IMAGE_PATH, page_xml=PAGE_XML_PATH, page_nr=2)
],
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
transkribus_rest_api-0.4.0.tar.gz
(19.4 kB
view hashes)
Built Distribution
Close
Hashes for transkribus_rest_api-0.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11dd9bac2cc9e612bc47e66432153096513d96868d2e46e57a8b0eb9fc20c6f8 |
|
MD5 | e01aaecd18ed8efbb9853de8be0944ab |
|
BLAKE2b-256 | 61b67ed97fde5a3bf866664a68ff320198711870086c39cfd44d4960bef122da |
Close
Hashes for transkribus_rest_api-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7f30b31feb092bbd694ced104290dffef3184397c21d996eeaf4ef8485b905d0 |
|
MD5 | 2769ae062a2d2e6b82e7ecd04cc1c677 |
|
BLAKE2b-256 | c3557e35880494af398f101d0dd0002a0bf61a8a0ec2d08883db942065c77ba3 |