Package: coronapy-cli
A command line tool to fetch worldwide data about COVID-19.Stay Home, Stay Safe.coronapy-cliTrack the Coronavirus disease (COVID-19) in the command line.🚀 Get worldwide Coronavirus disease (COVID-19) reporting🤯 Active daily reporting of your country's COVID-19 statistics🗃️ Data: Country, Cases, Deaths, Recovered, Active, Critical🥃  Soon : Get Mroccan States data for Coronavirus disease reportsData SourceNovelCOVID/APIupdated very frequently.Installpipinstallcoronapy-cliProject Structure├───.github
├───coronapy
│├───lib
││├───__init.py__
││├───color.py
││├───get_countries.py
││├───get_country.py
││└───get_world_wide.py
│├───__init__.py
│└───cli.py
├───.gitignore
├───LICENSE.txt
├───Pipfile
├───Pipfile.lock
├───READMR.md
├───setup.cfg
└───setup.pyDevelopmentSetupClone the repo andcdinto it.Set up a Python 3 virtual environment usingpipenv:pipenv--three# create Python 3 virtual environmentpipenvinstall--dev# install all dependenciespipenvshell# activate virtual environment shellThe script can be run from the root directory of the project:python3-mcoronapy.cli--helpUsageWorldwide Information# Display data for all total cases, recovery, and deaths.coronapyall# Display a chart of Total Cases, Total Deaths and Recovered Cases.coronapyall--chart# Alias: Display  a char.coronapyall-cAll Countries# Display data for all countries.coronapycountries# Sort data by type, the default type is 'cases'.coronapycountries--sortcases# Alias: Sort data by type.corcoronapyonacountries-srecovered# limit the number of results to the specified value.coronapycountries--limit5# Alias: limit the number of results .coronapycountries-l5Single Country# Display data for given country.coronapycountry<country_name># Display a chart of Total Cases, Total Deaths and Recovered Cases for given country i.e. China.coronapycountryChina--chart# Alias: Display  a char.coronapycountryChina-c# Display a histogram shows cases or deaths data in last 20 day for given country i.e. USA.coronapycountryusa--hist# You can set what kind of data (cases or deaths), the default is 'cases'.coronapycountryusa--hist--typecases
coronapycountryusa--hist--typedeaths# Alias: Histogram & data type.coronapycountryusa-h-tcasesSort Data# All sorting parameters.coronapycountries-scountry
coronapycountries-scases
coronapycountries-stodayCases
coronapycountries-sdeaths
coronapycountries-stodayDeaths
coronapycountries-srecovered
coronapycountries-sactive
coronapycountries-scriticalCLI Help# Display the help data.coronapy--helpTo DoAdd Screenshots.Catch and handle exceptions.(Complete)Make--helpcommand better.Add Mroccan States data for Coronavirus disease reports.Add US States data for Coronavirus disease reports.Testing code.More Code Refactor!More... (have suggestions? let me know!)IssuesIf you're facing a problem in using coronapy-cli please let me know by creating an issue in this github repository. I'm happy to help you! Don't forget to provide some screenshot or error logs of it!ContributingContributions are welcome, create a pull request to this repo and I will review your code.Contributors listMouad BoulahdoudMisha LisovyiaymaneMxMouad ZIANIAmitaykudosOkiStuffJose M. Segura PolancoAuthorsMouadBHLicenseThis project is licensed under the MIT License - see theLICENSE.txtfile for detailsSponsorThis project sponsored by tea 🥃.