india_covid
Indian COVID-19 Vaccine and Cases Status Coronavirus disease (COVID-19) is an infectious disease caused by a newly discovered coronavirus. Most people who fall sick with COVID-19 will experience mild to moderate symptoms and recover without special treatment.
import package
Python 3.6.9 (default, Jan 26 2021, 15:33:00)
[GCC 8.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pycovid_india
>>> inCovid = pycovid_india.CovidInfo()
>>>
>>>
Get State id
- this
idstate code. return value dict format.
>>>
>>> inCovid.get_state_id
output:
{
"0": "Andaman and Nicobar",
"1": "Andhra Pradesh",
"2": "Arunachal Pradesh",
"3": "Assam",
"4": "Bihar",
"5": "Chandigarh",
"6": "Chhattisgarh",
"7": "Dadra and Nagar Haveli and Daman and Diu",
"8": "Delhi",
"9": "Goa",
"10": "Gujarat",
"11": "Haryana",
"12": "Himachal Pradesh",
"13": "Jammu and Kashmir",
"14": "Jharkhand",
"15": "Karnataka",
"16": "Kerala",
"17": "Ladakh",
"18": "Lakshadweep",
"19": "Maharashtra",
"20": "Manipur",
"21": "Meghalaya",
"22": "Mizoram",
"23": "Madhya Pradesh",
"24": "Nagaland",
"25": "Odisha",
"26": "Puducherry",
"27": "Punjab",
"28": "Rajasthan",
"29": "Sikkim",
"30": "Tamil Nadu",
"31": "Telengana",
"32": "Tripura",
"33": "Uttar Pradesh",
"34": "Uttarakhand",
"35": "West Bengal"
}
india covid vaccine last update infomation
>>>
>>> inCovid.get_covid_vaccine_last_update()
output:
{
"day": "2021-05-29",
"india_dose1": 167617477,
"india_dose2": 44449137,
"india_total_doses": 212066614,
"india_last_dose1": 164779253,
"india_last_dose2": 44123192,
"india_last_total_doses": 208902445
}
get state covid cases infomation and covid acivity
input id is state code 16
>>> inCovid.get_state_covid_info(16)
output:
{
"Name of State / UT": "Kerala",
"state_code": "32",
"abbreviation_code": "KL",
"state_helpline": "0471-2552056",
"covid_portal_url": "http://dhs.kerala.gov.in/public-health-2019-n-corona-virus/",
"covid_facilities": "http://arogyakeralam.gov.in/2020/03/25/guidelines/",
"state_donation_url": "https://donation.cmdrf.kerala.gov.in/",
"Total Confirmed cases": "2494385",
"Active": "233425",
"Cured/Discharged/Migrated": "2252505",
"Death": "8455",
"whatsapp_chatbot_url": "https://wa.me/919072220183?text=Hi",
"fb_chatbot_url": "",
"epass_url": "https://covid19jagratha.kerala.nic.in/home/addDomestic",
"last_confirmed_covid_cases": "2470872",
"last_cured_discharged": "2224405",
"last_death": "8257",
"last_active_covid_cases": "238210",
"diff_confirmed_covid_cases": "23513",
"diff_cured_discharged": "28100",
"diff_death": "198",
"diff_active_covid_cases": "-4785"
}
get state covid vaccine activity
this id state code 30
>>> inCovid.get_state_covid_vaccine_info(30)
output
{
"st_name": "Tamil Nadu",
"state_id": "31",
"covid_state_name": "Tamil Nadu",
"covid_state_id": "33",
"dose1": "6782968",
"dose2": "2013165",
"total_doses": "8796133",
"last_dose1": "6523932",
"last_dose2": "1995551",
"last_total_doses": "8519483"
}
Release files for pycovid-india 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pycovid_india-0.0.8.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pycovid_india-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.6 kB
Release files / pycovid_india-0.0.8.tar.gz
| Download URL | pycovid_india-0.0.8.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e47f99df4a0df49826fb07d209958fd6204212e9db2e3db8fd559e9b00529441
|
|
BLAKE2b-256 checksum How to use checksums |
cddbb56045a775ac85bd35218f83018061aef6a0c30e8831d8567203d6101c63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.9
|
Release files / pycovid_india-0.0.8-py3-none-any.whl
| Download URL | pycovid_india-0.0.8-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5b85b4cb7a62560819f8897e2df47cca1ac50fd9eb615da0b99d89c801ad8735
|
|
BLAKE2b-256 checksum How to use checksums |
6473ff9358f7a4d7beb19a24ce36eb6d93bab1eb9b30ac3bb24d9b419c5278a8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.9
|