Skip to main content

Get the latest COVID-19 information via the command line.

Project description

Get the latest COVID-19 information via the command line.

Installation

pip install covid-cli

Usage

usage: covid [-h] [-all] [-country COUNTRY] [-totals] [-csv] [-us]
             [-sort-by [{Country,Active,Cases,Deaths,Recovered,Death Rate}]]

optional arguments:
  -h, --help            show this help message and exit
  -all, -a              Get all countries totals
  -country COUNTRY, -c COUNTRY
                        Get a specific country's totals.
  -totals, -t           Get global stats: cases, deaths, recovered, time last
                        updated, and active cases
  -csv                  Set this flag to output to CSV.
  -us, -u               Get United States data.
  -sort-by [{Country,Active,Cases,Deaths,Recovered,Death Rate}], -s [{Country,Active,Cases,Deaths,Recovered,Death Rate}]
                        Sort data by column.

Demo

asciicast

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

covid-cli-1.0.8.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

covid_cli-1.0.8-py2.py3-none-any.whl (3.9 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page