Skip to main content

A package to provide information regarding COVID-19 cases in India.

Project description

HitCount

COVID-19 India

Python package for providing data for the COVID-19 cases in India. This can provide data both online as well as offline.

requirements

For running this, you need to have python3 installed on your system.

Features

This works both online as well as offline.

Installation

For windows

pip install covid-india

For linux and Mac

pip3 install covid-india

Example

  1. All the states

    from covid_india import states
    print(states.getdata())
    

    This returns a json object which contains the datas of all the states in India.

  2. Specific state

    from covid_india import states
    print(states.getdata('West Bengal'))
    

    This returns a json object containing only the datas of West Bengal.

  3. Total Count

    from covid_india import states
    print(states.getdata('Total'))
    

    This returns a json object containing only category wise count of all the cases in India.

If you use this package offline, you will get a timestamp along with the data stating when it was last updated.

PyPi

COVID 19 INDIA: PyPi

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_india-1.1.4.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

covid_india-1.1.4-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file covid_india-1.1.4.tar.gz.

File metadata

  • Download URL: covid_india-1.1.4.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for covid_india-1.1.4.tar.gz
Algorithm Hash digest
SHA256 be405a6c77404a79a44239c195c49d76d909f93b7839ec3b72b299cf4520e773
MD5 0dea96f4892bb035ef8a2db59279b172
BLAKE2b-256 bb1d9ce499cf023be3f2e524ea640be8e00a275abe53af74a45a7e5cae2b240f

See more details on using hashes here.

File details

Details for the file covid_india-1.1.4-py3-none-any.whl.

File metadata

  • Download URL: covid_india-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6

File hashes

Hashes for covid_india-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6a25dca73ca4fed6f1d525f5770a969a5732befad96dad7cfb4b9964ad589023
MD5 2016fd4f8e735d886429a15f0b7b8188
BLAKE2b-256 a7dea907a34fabc0415b3044bd3e6e35739be7ff9b53bf25ed2588fed0777120

See more details on using hashes here.

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