No project description provided
Project description
🐕 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for escriptorium-fetcher-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0fcf3d67d31a41467abcbc5eee6f17254f2dcec4a5e26afa2bfa8eb89e178dc7 |
|
MD5 | a58c83151b703af89b7b4835dab37f5f |
|
BLAKE2b-256 | 27eab2f79d5b04512aad92b4a33c4482574cc491856925780618d5b1903a56e0 |
Hashes for escriptorium_fetcher-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f907d142537ac4d4b99bd72829c25858b801e0b3f58d1295ebdff105ce97e68c |
|
MD5 | d94e0448e293c861e127abe27c8771e9 |
|
BLAKE2b-256 | d0aa3ebc22e19aec4ae5008a9cc0b3774bd2127c064f765d07687407b6c9a5fe |