A Python Package to get covid19 Cases for Morocco in Real Time
Project description
Covid19 Cases Tracking in Morocco in Real Time
about
A small package of Python to access and track the number of cases of confirmed and deaths and recovered people from the Coronavirus for Morocco
Installation
pip install covid19_morocco
or in colab google cloud
!pip install covid19_morocco
Usage
from covid19_morocco import covid19
country_name=Morocco #name of country
# to get confirmed count for country in real time
confirmed_count=covid19.confirmed_people()
#to get deaths count for country in real time
deaths_count=covid19.deaths_people()
#to get recoverd count in real time
recoverd_count=covid19.recoverd_people()
# to get confirmed cases by regions (SoussMassa, CasaSettat, FesMeknes, MarrakechSafi,....)
confirmed_by_regions=covid19.confirmed_people_regions(regions)
#Plot cases
covid19.plot_cases()
#Plot histogram
covid19.hist_cases()
Checking
To verify the retrieved data within this library go to worldmeters web site for checking for any coutry
https://www.worldometers.info/coronavirus
plot cases https://raw.githubusercontent.com/aboullaite/Covid19-MA/master/stats/MA-times_series.csv
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 Distribution
covid19_morocco-0.0.2.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for covid19_morocco-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9ee1a1a76bf051e1bed21d51b33d9c9d2c1ddfda0baea605aa705ac16f5aaa6 |
|
MD5 | 9d7491728d8281adf3e0291b6c880e13 |
|
BLAKE2b-256 | f2d9ecdfc6e6dea7150f9678ed179c668b50057892fcac87115894a1bedfd032 |