Python Library for CORONA APP
Project description
CORONA APP
You can use this package to see the number of Corona virus stats (cases, deaths and critical cases, etc).
Installation
python -m pip install corona-app
Getting Started
Directly after the installation you can use this package. You will need Python Release 3.7.0 or older.
Open the python console and use the package
python
>>> from corona import show
>>> show()
Rank World Total Cases New Cases ▲ Total Deaths New Deaths ▲ Recovered Active Critical Cases / 1M pop
1 USA (US) 59,564,116 855,843 42,089,198 16,619,075 21,467 178,368
2 India (IN) 35,226,386 483,178 34,371,845 371,363 8,944 25,152
3 Brazil (BR) 22,395,322 619,730 21,567,845 207,747 8,318 104,239
4 UK (GB) 14,015,065 149,515 10,620,728 3,244,822 875 204,822
5 France (FR) 11,183,238 125,013 8,393,827 2,664,398 3,333 170,757
6 Russia (RU) 10,601,300 313,817 9,623,677 663,806 2,300 72,597
7 Turkey (TR) 9,787,274 83,231 9,217,669 486,374 1,128 114,188
8 Germany (DE) 7,399,003 114,207 6,664,800 619,996 4,636 87,885
9 Italy (IT) 6,975,465 138,474 5,243,412 1,593,579 1,467 115,627
10 Spain (ES) 6,922,466 89,837 5,124,221 1,708,408 2,005 147,972
# You can give an argument "country code" (e.g. de, jp, uk) and receive the numbers of the country.
>>> from corona import get
>>> get("de")
Rank Country Total Cases New Cases ▲ Total Deaths New Deaths ▲ Recovered Active Critical Cases / 1M pop
1 Germany (DE) 7,399,003 114,207 6,664,800 619,996 4,636 87,885
World 300,882,620 180,374 ▲ 5,490,390 558 ▲ 255,844,511 39,547,719 92,918 38,604.39
>>> get("jp")
Rank Country Total Cases New Cases ▲ Total Deaths New Deaths ▲ Recovered Active Critical Cases / 1M pop
1 Japan (JP) 1,743,547 4,194 ▲ 18,398 1,713,567 11,582 91 13,850
World 300,882,620 180,374 ▲ 5,490,390 558 ▲ 255,844,511 39,547,719 92,918 38,604.39
>>> get("uk")
Rank Country Total Cases New Cases ▲ Total Deaths New Deaths ▲ Recovered Active Critical Cases / 1M pop
1 UK (GB) 14,015,065 149,515 10,620,728 3,244,822 875 204,822
World 300,882,620 180,374 ▲ 5,490,390 558 ▲ 255,844,511 39,547,719 92,918 38,604.39
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file corona_app-0.0.4-py3-none-any.whl
.
File metadata
- Download URL: corona_app-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d59b3d682c6448e5fb8ea77310cf7848c81e8395fa3f64c20629ae4088b07e54 |
|
MD5 | 3bfa991d8242dcb66bbd6e4bc00328fb |
|
BLAKE2b-256 | 7fb00ea5a2683b277ca85715043bfab52bf7c21a4db8102d202d92339e4ccb5f |