Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

escriptorium-fetcher-0.1.1.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

escriptorium_fetcher-0.1.1-py3-none-any.whl (4.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page