You can run the tools in two ways
- Python 3.x
# Activate virtual env
$ python3 -m venv python-venv
$ source python-venv/bin/activate
# install dependencies
$ python3 -m pip install --upgrade pip
$ python3 -m pip install --requirement requirements.txt
# create temp folders
$ cd ./tools/scripts
$ python3 setup.py
- check Python SQLite3 version
$ python3 -c "import sqlite3; print(sqlite3.sqlite_version)"
# example: 3.28.0
- Check docker to see how to build the image locally.
- Run any tool below, i.e.
$ docker run -v $(PWD):/app --rm opentdata-tools-python python3 hrdf_db_reporter_cli.py -p tmp/hrdf_2021-01-10.sqlite
- Check scripts folder