A package to provide information regarding COVID-19 cases in India.
Project description
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
-
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. -
Specific state
from covid_india import states print(states.getdata('West Bengal'))
This returns a
json
object containing only the datas of West Bengal. -
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
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | be405a6c77404a79a44239c195c49d76d909f93b7839ec3b72b299cf4520e773 |
|
MD5 | 0dea96f4892bb035ef8a2db59279b172 |
|
BLAKE2b-256 | bb1d9ce499cf023be3f2e524ea640be8e00a275abe53af74a45a7e5cae2b240f |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a25dca73ca4fed6f1d525f5770a969a5732befad96dad7cfb4b9964ad589023 |
|
MD5 | 2016fd4f8e735d886429a15f0b7b8188 |
|
BLAKE2b-256 | a7dea907a34fabc0415b3044bd3e6e35739be7ff9b53bf25ed2588fed0777120 |