Skip to content
This repository was archived by the owner on Dec 8, 2017. It is now read-only.

18F/tock-management-reports

Repository files navigation

Tock management reports

A couple of scripts I use to monitor Tock data.

Usage

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

Installation

The TOCK_API_KEY variable in the .env file is not a real Tock API key. The first step is to get a valid API key from your Tock administrator.

You'll need to use some sort of strategy to export the environment variables in .env. I use autoenv. Then:

git clone https://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

Public domain

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.

About

A couple of scripts I use to monitor Tock data.

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages