Skip to main content

clicov

Quickly view and/or download COVID-19 case data from your Terminal.
Report issues

PyPI version

https://github.com/hhandika/clicov/blob/master/static/screenshot-2.png


Clicov is a multi-platform command-line application to track COVID-19 cases. The data are available for global and per country cases. The U.S cases are also available in per state basis and include positive and negative testing results.

Installation

For MacOS and Linux, you could install clicov directly from pip. You may also consider to setup virtual environment using conda or pip virtual environments. To install clicov, use this command in your Terminal shell:

pip install clicov

For Windows, you could install clicov on Windows Subsystem for Linux. The installation process is similar as above. Alternatively, you could also install it natively on Windows. One way to install it is using Anaconda/Miniconda. If you don't have either application yet, the instructions to install them are available here. Download Anaconda/Miniconda for python version 3.7 or above. After installation, open Anaconda command prompt. Then, install clicov by following the installation procedure for Linux and MacOS above.

Usages

Global Cases

To view summary of global cases:

clicov summary -w

To view summary of a selected country's cases, use the command -c and add the country two-letter ISO2 code. You can also use the country name, but ISO2 codes are less prone to errors, particularly for multi-word country names.

clicov summary -c [country-iso2-code]

You can check ISO2 codes using this command:

clicov id

For example, to view total U.S. cases:

clicov summary -c us

You can also chain the command with global cases:

clicov summary -w -c us

All countries' current cases can be saved into a spreadsheet:

clicov summary -sv

Cases from day one for a country is also available for download:

clicov download -c [country-iso2-code]

All files will be saved in your current working directory as a comma-separated values (.csv) format.

U.S Cases

This option is available to dig dive into the U.S states' cases. You can view a summary of all states' cases in the U.S or in per state basis. The data are available for current cases and historical data for each state. For the total U.S. cases, use 'clicov summary -c us' command instead.

To view a list of all states' current cases:

clicov usa

To view current cases per state:

clicov usa -s [state-code]

For example, to view New York cases:

clicov usa -s ny

To download all states' current cases:

clicov usa -sv

To download cases from day one for a selected state:

clicov usa -s [state-code] -sv

Data Providers

Global cases

Data aggregation: https://covid19api.com/

Data sources and terms of use: the Center for Systems Science and Engineering (CSSE) at Johns Hopkins University

U.S. state cases

Data aggregation and providers: the COVID Tracking Project at the Atlantic

Learn more about the data: https://covidtracking.com/data

Terms of use: https://covidtracking.com/license

License:

The app is under MIT license, meaning you are free to do however you want to the app. For the data usages, please refers to the terms of use provided by the data providers.

Contributions

This project was started as a hobby project. We are welcome for anyone to contribute. Please, send pull requests on Github.

Metadata

Release files for clicov 0.0.11

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

Source distribution (sdist)

Source distribution for clicov 0.0.11
File Size Uploaded Provenance
clicov-0.0.11.tar.gz 2.0 MB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for clicov 0.0.11
File Interpreter ABI Platform
clicov-0.0.11-py3-none-any.whl Python 3 none any Details

Total release size: 2.0 MB

Release files / clicov-0.0.11.tar.gz

Download URL clicov-0.0.11.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
fedbb2b1e273282581cbe42a146c58e3accb95be158a768a897ab221cf4cd350
BLAKE2b-256 checksum
How to use checksums
2498b7fc3c5aea3121ab2f933cf869eed7d9f782f5e68813de3652b5634a61bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.7

Release files / clicov-0.0.11-py3-none-any.whl

Download URL clicov-0.0.11-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
773500aa05a148b1219df5d00fa3347f76c7277a09a14647be8516a57d32d5cd
BLAKE2b-256 checksum
How to use checksums
618aa2edd338429de5a646bc690338c2c669d742dd7ab02d1c74236a978c5dbb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.7

Security for clicov 0.0.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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