/dp_pp_utils

Utility stuff for my Distributed Proofreaders Post-Processing work

Primary LanguageJinjaMIT LicenseMIT

This is a set of tools / templates that I use in the course of post-processing work for Distributed Proofreaders.

Other PP'ers are welcome to use anything here, but please note that this stuff is very tailored to my specific workflow, and I change that on a whim.

To use, first you need Python 3.

python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt

And create an auth-config.json file with your GitHub (or Gitlab) credentials, your Trello API data, and DP site password. Also configure whether to use GitHub or Gitlab for repositories. Use auth-config.json.sample as a guide for the format; it's a straightforward JSON file.

It will set up a project in ~/dp/pp/{project}, a GitHub or Gitlab project, a Trello page, download the text and images from the DP site, and unzip them.