Metadata-Version: 2.1
Name: covid19-counter-pkg-richwellum
Version: 0.0.4
Summary: Track some basic covid19 statistics
Home-page: https://github.com/RichWellum/covid19
Author: Richard Wellum
Author-email: richwellum@gmail.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: pandas
Requires-Dist: requests
Requires-Dist: colorama
Requires-Dist: termcolor

# covid19_counter

Simple but somewhat morbid tool to display information about COVID19.

Runs on a loop checking the number of Confirmed, Recovered and Deaths and also
the percentage died.

All data is pulled from: <https://github.com/CSSEGISandData/COVID-19>

User can specify the interval to check, the type of display (for small
displays), and display the record of any changes. In addition there's a test
option which allows you to enter your own data files, or make modifications.

Data on Deaths, Confirmed cases, Recoveries and Percentage Died are calculated
by pulling the CSV files down, and creating pandas df's, summing the data up
ofthe last known column, which is also the latest.

In a seperate terminal the user can see a running history of changes:

![Output looks like](./covid_output.png)

```bash
    covid19_counter -r
```

To install on a Mac directly from github clone:

```bash
    cd covid19 # cd to the directory
    brew install pipenv
    pipenv install # Seems temperamental - so use manual steps below if needed
```

Otherwise you need python3 and the packages (pip3 install): pandas, colorama,
termcolor, requests:

```bash
    brew install python3  #(or sudo apt install python3 etc)
    pip3 install pandas colorama termcolor requests
```

Or install from pypi:

```bash
    pip3 install covid19-counter-pkg-richwellum==0.0.2
    covid19_counter
```

Example running:

```bash
    RWELLUM-M-C5JH:covid19 rwellum$ covid19_counter -i 400 -h
    usage: covid19.py [-h] [-i INTERVAL] [-r] [-s] [-f] [-v] [-t]

    Grab and process the latest COVID-19 data

    optional arguments:
    -h, --help            show this help message and exit
    -i INTERVAL, --interval INTERVAL
                            interval in seconds between retrieving the data again,
                            default one hour(3600s)
    -r, --record          view a record of all changes
    -s, --split           split the display to fit smaller terminals
    -f, --force           bypass safety rails - very dangerous
    -v, --verbose         turn on verbose messages, commands and outputs
    -t, --test            run with a test file

    E.g.: ./covid19.py -i 600 -s
```


