Skip to main content

This is a program that displays local and national coronavirus statistics, and top news.

Project description

COVID Dashboard

This COVID Dashboard displays local and national statistics about the virus while also displaying the top headlines. The user may also schedule updates for when they would like either the statistics or news to be updated.

Prerequisites

Python Version: 3.9.9

Installation

Use the package manager pip to install covid19_dashboard_jamesbarkes:

pip install covid19_dashboard_jamesbarkes

Again, use the package manager pip to install the packages stored in the requirements file:

pip -r requirements.txt

You will need to get your own API key at NewsAPI. And enter it into, along with the other relevant data, the config.json file.

The program will not work if the values in the config file are not filled!

Getting Started

Starting the Program

  • Enter python -m covid_data_handler into your terminal.
  • Go to your web browser and visit the website http://127.0.0.1:5000/index.

Scheduling Updates

There is an option to schedule an update with a few different selections, you can:

  • Set a time to update. (Required)
  • Set a name for the update. (Required)
  • Select whether to repeat the update, the same time, the next day.
  • Select whether you'd like to update the covid data.
  • Select whether you'd like to update the news articles.

Deleting Updates

You can press the [x] at the top of the update to cancel and remove it.

Deleting News

You can press the [x] at the top of the news to cancel and remove it and stop it from returning after an update.

Testing

Testing is done via the pytest package. It can be installed by running:

pip install pytest

Then find the directory you are currently in and type:

cd <file location>

Before typing:

pytest

Developer Documentation

This can be found by navigating to: Docs -> _build -> html -> index.html

Details

License: MIT

Author: James Barkes

Acknowledgements: Hugo Barbosa & Matt Collison

Github Link: https://github.com/jamesbarkes/covid_dashboard

Project details


Release history Release notifications | RSS feed

This version

1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Covid19_Dashboard_Jamesbarkes-1.tar.gz (2.8 kB view hashes)

Uploaded Source

Built Distribution

Covid19_Dashboard_Jamesbarkes-1-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

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