Skip to main content

covidify PyPi Version PyPI - Downloads PyPI - License Python Versions

Features • How To Use • Install • Visualizations • Data Source • Credits • To-Do List


Features

Covidify downloads the latest covid-19 data for confirmed cases, deaths and recoveries.

  • Creates a time series dataset
  • Creates a daily stats dataset
  • Forecast global and country confirmed cases
  • Generate visualizations
  • Filter by country
  • List all countries affected
  • Shows number of people currently infected
  • Generates an excel report including all of the above

logo


Install

  • pip install covidify

How to use

$ covidify
Usage: covidify [OPTIONS] COMMAND [ARGS]...

  ☣  COVIDIFY ☣

   - use the most up-to-date data to generate reports of 
     confirmed cases, fatalities and recoveries.

Options:
  --help  Show this message and exit.

Commands:
  list  List all the countries that have confirmed cases.
  run   Generate reports for global cases or refine by country.
$ covidify run --help
Usage: covidify run [OPTIONS]

Options:
  --output TEXT    Folder to output data and reports [Default:
                   /Users/award40/Desktop/covidify-output/]
  --source TEXT    There are two datasources to choose from, John Hopkins
                   github repo or wikipedia -- options are JHU or wiki
                   respectively [Default: JHU]
  --country TEXT   Filter reports by a country
  --top TEXT       Top N infected countries for log plot. [Default: 10]
  --forecast TEXT  Number of days to forecast cumulative cases in the future.
                   [Default: 15]
  --help           Show this message and exit.

Example Commands:

# List all countries affected 
covidify list --countries
# Will default to desktop folder for output and github for datasource
covidify run 
# Specify output folder and source
covidify run --output=<PATH TO DESIRED OUTPUT FOLDER>
# Filter reports by country
covidify run --country="South Korea"
# Show top 20 infected countries on a logarithmic scale
covidify run --top=20
# Forecast cumulative cases in America for 14 days into the future
covidify run --country=America --forecast=14

Visualizations

An excel spreadsheet is generated with a number of visualizations and statistics.

logo

Logarithmic Plot

This plot shows the top N infected countries on a logarithmic scale. alt text

Forecasting

An ARIMA model is trained and used to forecast the cumulative cases for N number of days into the future alt text

Accumalitive Trend

This is an accumulative sum trendline for all the confirmed cases, deaths and recoveries. alt text

Daily Trendline

This is a daily sum trendline for all the confirmed cases, deaths and recoveries. alt text

Stacked Daily Confirmed Cases

This stacked bar chart shows a daily sum of people who are alread confirmed (red) and the people who have been been confirmed on that date (blue)

alt text

Daily Confirmed Cases

A count for new cases on a given date, does not take past confirmations into account. alt text

Daily Deaths

A count for deaths on a given date, does not take past deaths into account. alt text

Daily Recoveries

A count for new recoveries on a given date, does not take past recoveries into account. alt text

Currently Infected

A count for all the people who are currently infected for a given date. alt text


Credits

Release files for covidify 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for covidify 1.2.0
File Size Uploaded
covidify-1.2.0.tar.gz 59.9 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for covidify 1.2.0
File Interpreter ABI Platform
covidify-1.2.0-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 59.9 MB

Release files / covidify-1.2.0.tar.gz

Download URL covidify-1.2.0.tar.gz
Size 59.9 MB
Tags Source
SHA-256 checksum
How to use checksums
30aea3752893dcff032d506a6fbc8e62569d3905dc09b3f6e2a23c0e41ec5bec
BLAKE2b-256 checksum
How to use checksums
7ce162e5f64be8336bbadc851f3d07865df52cf0fbd4c3bc7d5f52c359ba6bd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.7

Release files / covidify-1.2.0-py2.py3-none-any.whl

Download URL covidify-1.2.0-py2.py3-none-any.whl
Size 18.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9cab2ee31e9be99b425f46aa1ad6ad90f5fb6a35286efe3c70399d510e1d9116
BLAKE2b-256 checksum
How to use checksums
210a2e8e65ce15e3ab2786a55ff5191126aac02185c1a724a59d1abd04185178
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.7

Release history Release notifications | RSS feed

1.3.0

2 release files

This release

1.2.0 This release

2 release files

1.1.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

1 release file

0.1.9

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page