Skip to content

hostolab/covidliste_utils

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 

Repository files navigation

covidliste_utils

extract_list.py (Python 3)

Used to extract volunteers data and pictures from CSV and slack and format them as a json compatible with Covidliste's website.

Setup

Copy initial configuration and tweak it

cp extract_list/config.py.sample extract_list/config.py
vim extract_list/config.py

Install dependencies (use Python 3)

pip install -r extract_list/requirements.txt

You will need covidliste source code from https://github.com/hostolab/covidliste cloned elsewhere on the same machine.

Usage

If ../covidliste is where the covidlist repo has been cloned on the same machine, the command will be :

python3 extract_list/extract_list.py --out-json ../covidliste/db/frozen_records/volunteers.json --out-pics-folder ../covidliste/app/assets/images/volunteers
``

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%