Covid-19 statistics for Regione Umbria, based on the public API
Project description
Covid19Umbria
Covid-19 statistics for Regione Umbria, based on the public API.
Cf. also the Dashboard COVID-19 Regione Umbria.
Partially inspired by the covid package.
Installation
pip install covid19umbria
Usage
See the example.
Get All Data
from covid19umbria import Covid19Umbria
covid19 = Covid19Umbria()
covid19.get_data()
Get Currently Active cases
current_active = covid19.get_current_active_cases()
Get Total Confirmed cases
new_active = covid19.get_total_confirmed_cases()
Get Total Recovered cases
recovered = covid19.get_total_recovered()
Get Total Deaths
deaths = covid19.get_total_deaths()
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
covid19umbria-0.0.6.tar.gz
(2.7 kB
view details)
Built Distribution
File details
Details for the file covid19umbria-0.0.6.tar.gz
.
File metadata
- Download URL: covid19umbria-0.0.6.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 943d8ff79fc2e776f9cda88ba18feaf0c5956bbf783855ed31e353258e211c12 |
|
MD5 | 0a7d518da2a6e75cd0e4eb267cdbd868 |
|
BLAKE2b-256 | f9bac5716f6b2bf11e3590ead08c61f8a1d244a1b4ee5b951ef3ad098bf529c9 |
File details
Details for the file covid19umbria-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: covid19umbria-0.0.6-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.6.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e92d9379f7d1cb3ac5a804aef7a42729a00a89dc2cae30dbed124e572a64e394 |
|
MD5 | bc53f054d8f5860aa3779e6af26ca21c |
|
BLAKE2b-256 | 202b9691c4322e3589939aada324f328d5f4b4f5e9459a189b9e087c6c5fa30f |