Skip to main content

A Covid Dashboard to show current news and data.

Project description

Covid-1 Dashboard Tom Sturgeon

Table of contents:

Introduction

Creates a locally hosted dashboard which displays information about Covid-19
It dashboard displays:

  • The local 7 day infection rate
  • The national 7 day infection rate
  • The national hospital cases
  • The national death count
  • News articles collected from the Newsapi.org/ The dashboard allows for updates to be scheduled to refresh the data and the news articles

Prerequisites

To use the dashboard you need to have these modules:

Installing

pip install Covid-Dashboard-pkg-tsturgeon

Config File

In the config file there are many customisable fields to set and on necessary field
The necessary is the API key for the news api, to get a key register for one at newsapi.org and then copy the key into the config file
The customisable key can change:

  • The title
  • The locations
  • The location type
  • The images
  • The news search terms
  • The logging file
  • The Static data file

Running

Set the config file to what you desire.
Navigate to where the package has been installed and run the module in the terminal
Open a web browser and heat to 127.0.0.1:/5000/index (The link will also be in the logging file)
From this page you can:\

  • Schedule updates using the form in the lower middle of the page
  • Remove updates and news articles
  • Read the current statistics

Testing

To test the modules it uses Pytest.
To run the test navigate to the package in the terminal and run pytest

Documentation

For the documentation go to https://github.com/Sturgeon2962/coursework/
The documentation is located in coursework/docs/build/html/index.html
You can download it the launch it in a web browser to view the documentation
This goes into greater deatial about how to configure the code and run it

Details

Author: Tom Sturgeon
License: MIT License Link to source files: https://github.com/Sturgeon2962/coursework/ \

Project details


Download files

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

Source Distribution

Covid-Dashboard-pkg-tsturgeon-0.0.2.tar.gz (9.7 kB view details)

Uploaded Source

Built Distribution

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

Covid_Dashboard_pkg_tsturgeon-0.0.2-py3-none-any.whl (12.5 kB view details)

Uploaded Python 3

File details

Details for the file Covid-Dashboard-pkg-tsturgeon-0.0.2.tar.gz.

File metadata

  • Download URL: Covid-Dashboard-pkg-tsturgeon-0.0.2.tar.gz
  • Upload date:
  • Size: 9.7 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.7

File hashes

Hashes for Covid-Dashboard-pkg-tsturgeon-0.0.2.tar.gz
Algorithm Hash digest
SHA256 f75719ec10df7f30efec46105d8e422bd447385b12ff1f6e524abd401efcabcd
MD5 e371c52e6f7d820ac9aa45c5b39a9287
BLAKE2b-256 0421d992bc0d4802f2ea6a177a347069c08e810af572c74f7bd27ad4c1051626

See more details on using hashes here.

File details

Details for the file Covid_Dashboard_pkg_tsturgeon-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: Covid_Dashboard_pkg_tsturgeon-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 12.5 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.7

File hashes

Hashes for Covid_Dashboard_pkg_tsturgeon-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c25e68825ba062a5cf0d241f4cdee0c8eb3365f66503f143e54e457b3025cff1
MD5 864819fbc7a3c29b242946326bc9f399
BLAKE2b-256 70a0e56185a0f590c9f566d0b0ff06053035c610e89289715c5e3d6a5bb273a8

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