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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: covid_india-1.1.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for covid_india-1.1.1.tar.gz
Algorithm Hash digest
SHA256 7b72c94b7c4d2581cb51abb67f533e0977aba8ba722dc39b33a138012cbb278f
MD5 703d4b2e22c4fa006bdcd4cc5d736865
BLAKE2b-256 8808d2813ab40c1224296848ac3c1ffc539725ef49ce267dbf04cb8214f40437

See more details on using hashes here.

File details

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

File metadata

  • Download URL: covid_india-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for covid_india-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 548055bf5911fa0bda64293b200fe0342d39e95497600b6affb0fce4d8b747ce
MD5 0256f01380ef1ef82a9067559e19422a
BLAKE2b-256 0d1b0fe4d28e39330a5213b1d1d4f637a9d58dd5b861900d352d8531b89baf6f

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