A couple of scripts I use to monitor Tock data.
For a given date, use run.py
with a YYYY-MM-DD
date. For example:
python run.py 2016-10-23
To check an individual, use check_user.py
with a YYYY-MM-DD
date and a username. For example:
python check_user.py 2016-10-23 vladlen.zvenyach
You'll need to use some sort of strategy to export the environment variables in .env.
I use autoenv. Then:
git clone git@github.com:18F/tock-management-reports.git
cd tock-management-reports
cp .env.example .env
python -m venv env
source env/bin/activate
pip install -r requirements.txt
This project is in the worldwide public domain. As stated in CONTRIBUTING:
This project is in the public domain within the United States, and copyright and related rights in the work worldwide are waived through the CC0 1.0 Universal public domain dedication.
All contributions to this project will be released under the CC0 dedication. By submitting a pull request, you are agreeing to comply with this waiver of copyright interest.