This is an exercise to grab semi-automatically a bunch of data from the Internet, and use them to update a couple of articles the author wrote about the Covid-19 outbreak in Italy and in the world.
It's developed using Python language and some libraries: Pandas, Matplotlib, reStructuredtext_.
You can find a more exaustive explanation how all this stuff works at this URL.
To install [1]:
- make an hosting directory, example:
mkdir .\covid19-italia
- make some auxiliary directories
cd .\covid19-italia mkdir data mkdir images mkdir world mkdir backup
- clone or download this project to the hosting directory
- create a python virtualenv environment:
python - m venv venv
- activate the environment:
venv\Scripts\activate
- rename utils_example.conf:
ren utils_example.conf utils.conf
- modify utils.conf contents as you wish;
- study the project listings;
- try it:
python world.py python italy.py
This work is distributed under a CC BY-SA 4.0 license.
[1] | These are for MS Windows. In Linux, please use the equivalent commands. |