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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: covid_india-1.1.2.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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for covid_india-1.1.2.tar.gz
Algorithm Hash digest
SHA256 dcc9f0c7d1c750442aaca07ca638bd1c9c09184ea9a2d1eb633852f70685976d
MD5 78b131cb17c2aff34a0ab44b445e6d8d
BLAKE2b-256 4cbeac8808cdc9c1747d3b12dfb22d76b6a36d6139548fa9e9b0a8e79bd323b8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: covid_india-1.1.2-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/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3

File hashes

Hashes for covid_india-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1dab936f47b47cfe9420a2afb33dc2fb8ec8c72ff36cb56edf7d1fe5cb5ee853
MD5 5d9f2b4bf851692578fc10391c9948ec
BLAKE2b-256 a9df27bf63a9a5718d8328d9dd4c1353138da3b4b4e6d18d4ff3f5e55b2856a5

See more details on using hashes here.

Supported by

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