Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

covid19_morocco-0.0.2-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file covid19_morocco-0.0.2.tar.gz.

File metadata

  • Download URL: covid19_morocco-0.0.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.10

File hashes

Hashes for covid19_morocco-0.0.2.tar.gz
Algorithm Hash digest
SHA256 14f1edcaa8b4b6f75ef9210a62d7ade47fa2e18304033020a9c31ce44586d20d
MD5 5d0508eb2d98ee4fa6d206fc35cf6048
BLAKE2b-256 754efcbabdad88dcaa3b453b83b028e2c18f24d7e4ae4a20db1cf9650445752f

See more details on using hashes here.

File details

Details for the file covid19_morocco-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: covid19_morocco-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0.post20200309 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.6.10

File hashes

Hashes for covid19_morocco-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c9ee1a1a76bf051e1bed21d51b33d9c9d2c1ddfda0baea605aa705ac16f5aaa6
MD5 9d7491728d8281adf3e0291b6c880e13
BLAKE2b-256 f2d9ecdfc6e6dea7150f9678ed179c668b50057892fcac87115894a1bedfd032

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page