Readme
A django app for interacting with the [Transkribus-API](https://transkribus.eu/wiki/index.php/REST_Interface) to search and read documents hosted and processed by [Transkribus](https://transkribus.eu/Transkribus/)
Installation
pip install acdh-django-transkribus
Use:
Add your user name and password and the ID of the collection you’d like to expose by the current application’s settings file like shown below:
TRANSKRIBUS = {
"user": "mytranskribususer@whatever.com",
"pw": "mytranskribuspassword",
"col_id": "43497"
}
To make the faksimiles only accessible for logged in user, you need to add the following flag to your settings:
For custom translations you’d need to add following dict to your settings:
TRANSKRIBUS_PUBLIC = True
TRANSKRIBUS_TRANSLATIONS = {
'search_form': {
'prefil': 'search in all documents',
'button': 'Go!'
},
'search_header': {
'header': 'Fulltext Search'
},
'hits': {
'facet_header': 'refine your search',
'facet_doc_title': 'Document',
'result_header': 'Results',
'kwic_header': 'KWIC',
'result_col': 'Collection',
'result_doc': 'Document',
'result_page': 'Page',
'result_link': 'go to document'
},
'page': {
'img_col': 'IMG',
'text_col': 'TEXT'
},
'docs': {
'title_col': 'Title',
'page_nr_col': 'Nr. of pages',
'preview_col': 'Preview',
'doc_singular': 'Document',
'doc_plural': 'Documents',
'page_singular': 'Page',
'page_plural': 'Pages'
}
}
History
1.1.0 (2020-03-20)
added possiblity to restrict access to non logged-in users to Facsimiles by adding TRANSKRIBUS_PUBLIC = False to settings
1.0.0 (2020-03-20)
load staticfiles -> load static to be Django > 3.x compatible
0.3.0 (2019-10-24)
more translations
transkribus-css classes added to templates
added TrpBaseModel
0.2.0 (2019-10-09)
Added settings param for custom translations
0.1.0 (2019-10-02)
First release.
Metadata
Release files for acdh-django-transkribus 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| acdh-django-transkribus-1.1.0.tar.gz | 11.3 kB | Without provenance | Details for acdh-django-transkribus-1.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| acdh_django_transkribus-1.1.0-py3-none-any.whl | Python 3 | none | any | Details for acdh_django_transkribus-1.1.0-py3-none-any.whl |
Total release size: 25.9 kB
Release files / acdh-django-transkribus-1.1.0.tar.gz
| Download URL | acdh-django-transkribus-1.1.0.tar.gz |
|---|---|
| Size | 11.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6312e4dc1536ddba701a26951017029359fcd51f335b884912f0d259292501be
|
|
BLAKE2b-256 checksum How to use checksums |
66b9b49ca3a81b68a85ac3e53cb7981ce757b08318648ab8e3e83bc85f7f1e9f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
|
Release files / acdh_django_transkribus-1.1.0-py3-none-any.whl
| Download URL | acdh_django_transkribus-1.1.0-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aaf18b9757b91206a0366619571366baab2c547e12dab8c842d1381ec3f3a66b
|
|
BLAKE2b-256 checksum How to use checksums |
4560496e83f96e42125375308f14aaea7e11c46b3ae4b404dbe127d107701607
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.9
|
Security for acdh-django-transkribus 1.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.