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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file Covid19_Dashboard_Jamesbarkes-1.tar.gz.

File metadata

  • Download URL: Covid19_Dashboard_Jamesbarkes-1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for Covid19_Dashboard_Jamesbarkes-1.tar.gz
Algorithm Hash digest
SHA256 1008748f4f5b485cf6342b8ab3df0b7dd1547f2523cb4628fe3fbe65d0e572a6
MD5 61c5edce81b1cf947c544172c2444ea1
BLAKE2b-256 85dd28c53358fa32aef675973521d24e400a299c85ab4e88e0e3994814a1072f

See more details on using hashes here.

File details

Details for the file Covid19_Dashboard_Jamesbarkes-1-py3-none-any.whl.

File metadata

  • Download URL: Covid19_Dashboard_Jamesbarkes-1-py3-none-any.whl
  • Upload date:
  • Size: 3.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.9

File hashes

Hashes for Covid19_Dashboard_Jamesbarkes-1-py3-none-any.whl
Algorithm Hash digest
SHA256 67f767d7ac3bc923798f535ca27178672ae63a5599ffc122a528b6158d290c3b
MD5 e5baf5f3922e74a5eeac46de749c6d5f
BLAKE2b-256 279a53bec7acdfdd763334f4d0ef11b3ce654acb75849360abd04ffee0ae263e

See more details on using hashes here.

Supported by

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