This project has been archived by its maintainers, and is no longer receiving any updates.
🐕 escriptorium-fetcher 🐕
A CLI for downloading data from an eScriptorium server.
Installation
pip install escriptorium-fetcher
Usage
$ fetcher
You will be prompted to select a project to fetch. Enter the number next to the project that you would like to fetch and press enter. For example, if you would like to fetch the first project, enter the following and press enter:
0 initial_batch-2024-02-21
1 another_project-2024-02-21
🐾 Select a project to fetch: 0
By default, fetcher downloads images and transcriptions. You need to select which transcription you want to download. Enter the number next to the transcription that you would like to fetch and press enter. For example, if you would like to fetch the first transcription, enter the following and press enter:
0 vision
1 manual
Please select a transcription to fetch: 0
The first time that you run the script you will be prompted to enter:
- the url of the eScriptorium server
- your username for the eScriptorium server
- your password for the eScriptorium server
- a local path to save the image files
- a local path to save the transcription files (ALTO xml)
To clear your settings and start over, run:
$ fetcher --clear-secrets
If you do not want to download images or transcriptions, you can use the --no-images or --no-transcriptions flags. For example:
$ fetcher --no-images
Metadata
Release files for escriptorium-fetcher 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| escriptorium-fetcher-0.1.1.tar.gz | 3.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| escriptorium_fetcher-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 kB
Release files / escriptorium-fetcher-0.1.1.tar.gz
| Download URL | escriptorium-fetcher-0.1.1.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0fcf3d67d31a41467abcbc5eee6f17254f2dcec4a5e26afa2bfa8eb89e178dc7
|
|
BLAKE2b-256 checksum How to use checksums |
27eab2f79d5b04512aad92b4a33c4482574cc491856925780618d5b1903a56e0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.9 Linux/6.8.0-76060800daily20240311-generic
|
Release files / escriptorium_fetcher-0.1.1-py3-none-any.whl
| Download URL | escriptorium_fetcher-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f907d142537ac4d4b99bd72829c25858b801e0b3f58d1295ebdff105ce97e68c
|
|
BLAKE2b-256 checksum How to use checksums |
d0aa3ebc22e19aec4ae5008a9cc0b3774bd2127c064f765d07687407b6c9a5fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.10.9 Linux/6.8.0-76060800daily20240311-generic
|