trampfox / inky-covid

A covid dashboard for the inky pHAT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

inky-covid

drawing

A covid dashboard for the inky pHAT showing the last 20 days of positive cases.

This dashboard uses the covidtracking.com API to get a given state's historical results

installation

This used python 3.7 and the inky-phat libraries

curl https://get.pimoroni.com/inkyphat | bash
sudo apt-get install libatlas-base-dev
pip3 install -r requirements.txt

usage

usage: inky-covid.py [-h] [--state state] [--flip flip]

inky-pHAT dashboard of daily COVID-19 positives

optional arguments:
  -h, --help     show this help message and exit
  --state state  two-letter US state abbreviation
  --flip flip    flip the display 180 degrees
python3 inky-covid.py --state mn

license

GPL-3

About

A covid dashboard for the inky pHAT

License:GNU General Public License v3.0


Languages

Language:Python 100.0%