Skip to content

youcann/covid19-terminalPlot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

covid19-terminalPlot

Plots Corona (Covid-19) cases in your terminal.

example

Data taken from JHU CSSE via https://github.com/ExpDev07/coronavirus-tracker-api.

Requirements

pip install --user COVID19Py
pip install --user termplotlib

Usage

Specify [confirmed, confirmed_new, deaths, recovered] and a country code:

./covid19Plot confirmed NO DE FR
./covid19Plot confirmed SE
./covid19Plot deaths IT
./covid19Plot recovered DK

(Optionally install cool-retro-terminal for the looks)

Sample output

[marvin@thinkpad covidPlot]$ ./covid19Plot.py confirmed NO
====================================================================================================
====Norway (confirmed)==============================================================================
====================================================================================================
2020-01-22  [   0]
2020-01-23  [   0]
2020-01-24  [   0]
2020-01-25  [   0]
2020-01-26  [   0]
2020-01-27  [   0]
2020-01-28  [   0]
2020-01-29  [   0]
2020-01-30  [   0]
2020-01-31  [   0]
2020-02-01  [   0]
2020-02-02  [   0]
2020-02-03  [   0]
2020-02-04  [   0]
2020-02-05  [   0]
2020-02-06  [   0]
2020-02-07  [   0]
2020-02-08  [   0]
2020-02-09  [   0]
2020-02-10  [   0]
2020-02-11  [   0]
2020-02-12  [   0]
2020-02-13  [   0]
2020-02-14  [   0]
2020-02-15  [   0]
2020-02-16  [   0]
2020-02-17  [   0]
2020-02-18  [   0]
2020-02-19  [   0]
2020-02-20  [   0]
2020-02-21  [   0]
2020-02-22  [   0]
2020-02-23  [   0]
2020-02-24  [   0]
2020-02-25  [   0]
2020-02-26  [   1]
2020-02-27  [   1]
2020-02-28  [   6]  *
2020-02-29  [  15]  *
2020-03-01  [  19]  *
2020-03-02  [  25]  **
2020-03-03  [  32]  **
2020-03-04  [  56]  ***
2020-03-05  [  87]  *****
2020-03-06  [ 108]  ******
2020-03-07  [ 147]  ********
2020-03-08  [ 176]  *********
2020-03-09  [ 205]  **********
2020-03-10  [ 400]  ********************
2020-03-11  [ 598]  *****************************
2020-03-12  [ 702]  **********************************
2020-03-13  [ 996]  *************************************************
2020-03-14  [1090]  *****************************************************
2020-03-15  [1221]  ************************************************************
2020-03-16  [1333]  *****************************************************************
2020-03-17  [1463]  ***********************************************************************
2020-03-18  [1550]  ***************************************************************************
====================================================================================================

About

Plot covid-19 data from JHU in a terminal

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages