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

Uploaded Source

Built Distribution

covid_india-1.1.3-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: covid_india-1.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 56f6086e6dd22d9eecc79609a0ace5b3a985d4dec843551a48b4529dae37a880
MD5 7705a411832e0c4bcd01ae2fd6bcbe77
BLAKE2b-256 21c4997423ccf0a36a02471bcb396c4743b345edea7be47b9717a8b968e265fb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: covid_india-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.8 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6d9a2e0d13393742bcb021976022e6823444e541ccf4c226ad10874c82740e22
MD5 c14e82c8bc2f2f52c7630328e26d469e
BLAKE2b-256 ead337a887125d2d4db4c8cefb75f772dbbf691bedcae29b81d00dd31b8f5d7d

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