- Java Runtime with the PATH set to it
- Python >=3.5
-
download the zip archive of the repo or clone it
-
unzip the file and cd into it :
unzip morocovid--master; cd morocovid--master
-
create a virtual environment for the project
python -m venv env
-
activate the environment by running :
env\Scripts\activate
-
install the requirements :
pip install -r requirements.txt
-
run the project :
python main.py
-
covid-19 statistics per city, in CSV format :
The results are generated in the folder CSVs, the link is : https://github.com/moun3imy/morocovid/blob/master/CSVs/corona_{day}-{month}-{year}.csv
day, month and year should be provided in two digit format, without any leading zeros in case it's a single digit -
covid-19 statistics nationally :
execute : python read_stats.py
this script will generate a dictionary containing all necessary statistics about COVID-19 on a national level
- generate all coronavirus-2 data for today :
execute : python .\covid_stats_json.py
this script will generate a dictionary containing all coronavirus-2 data for today