pycorona
pycovid is a library that is used to get coronavirus condition (i.e. active cases, deaths, etc) of any country.
Usage
from pycorona import Country
country = Country("USA")
cases = country.total_cases()
print(cases)
> 2,234,475
Attributes for countries -
continent()
flag()
total_cases()
today_cases()
total_deaths()
today_deaths()
recovered()
critical_cases()
active_cases()
tests()
The package raises KeyError if the given country is not found
from pycorona import World
world = World()
cases = world.total_cases()
print(cases)
> 8,486,923
Attributes for world -
affected_countries()
total_cases()
today_cases()
total_deaths()
today_deaths()
recovered()
active_cases()
tests()
critical_cases()
Note - This package is currently under development
Metadata
Release files for pycorona 0.6.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pycorona-0.6.5.tar.gz | 2.2 kB | Without provenance | Details for pycorona-0.6.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pycorona-0.6.5-py3-none-any.whl | Python 3 | none | any | Details for pycorona-0.6.5-py3-none-any.whl |
Total release size: 5.3 kB
Release files / pycorona-0.6.5.tar.gz
| Download URL | pycorona-0.6.5.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
00db1dc79befe0a98f737af38b2867aa8dbfc100f564a821f605b6b04ac469e5
|
|
BLAKE2b-256 checksum How to use checksums |
48c357d5ed38549c04f0f841a7894b2bc064a16579954077513382c35d8c3eeb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
|
Release files / pycorona-0.6.5-py3-none-any.whl
| Download URL | pycorona-0.6.5-py3-none-any.whl |
|---|---|
| Size | 3.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
91cc9d083523f8f6f0c5811a69218c1fe93ed0cfb1d41891ade9e083fb4eeb32
|
|
BLAKE2b-256 checksum How to use checksums |
e0fd2570f96e38a713298356cf91ece1983dba08f8f522f0d4a4a5782f64e42c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
|
Security for pycorona 0.6.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.