Skip to content

Python Program

Giovanni Tshiabngu edited this page Jul 11, 2022 · 1 revision

Python Program

The covid-19 data analysis and visualization app fetch data from an opensource API. The python makes a request to the API and get data if access granted. The data is processed to meet certain analytic and visualizations requirements. The python script also run a mail server to send out email updates whenever an event occurs, such as program failure or success.

Another request is made to the MySQL server. On success, the processed data will be insert into the database 1 row at the time. Data can be available in the database right after being insert. The python script commits to database at every insertion.

see python source code

The python program is hosted on a linux server in the cloud(pythonAnywhere.com). The server is scheduled to run the program everyday at a certain time untill all data have been fecthed.

Clone this wiki locally