Covid-19 Data Presentation Dashboard, ECM1400 Programming Coursework
Project description
Covid19Dashboard
DESCRIPTION
Covid19Dashboard is a python project that provides a personalised dashboard to present current statistics and news articles for a user.
PREREQUISITES
Python Version >= 3.9
Installed Packages:
uk-covid19
flask
pytest
Use the Package Manager pip to install these modules.
pip install uk-covid19
pip install flask
pip install pytest
If modules are currently installed, pip will return a message in response to this, however modules can also be verified by executing line.
pip list
This lists all currently installed packages and their version, as of the publishing of this package, versions for the prerequisite packages uk-covid19, flask, and pytest are so.
Versions as of 03/12/2021
uk-covid19 - 1.2.2
Flask - 2.0.2
pytest - 6.2.5
INSTALLATION
To install the Covid19Dashboard, the package can be installed using pip, similarly to the prerequisite modules necessary for the package to function.
pip install Covid19Dashboard
USAGE
To set up the dashboard for opening in a browser, the user must execute the main.py python file in the package. This can be done through the command line, or a Python Shell if the file is loaded into an IDE such as IDLE, or another environment.
#cd "<Directory_To_Package_Folder>"
#py main.py
If the Package has been imported, the dashboard can be alternatively loaded by calling the run() function created in main.py, as opposed to the execution of app.run() when the module is being run directly.
#from Covid19Dashboard import main
#main.run()
Once the dashboard is running, the local development server can be accessed by web browser, using the url 127.0.0.1:5000.
DETAILS
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for Covid19Dashboard_ah1062-0.0.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3e75a6a1d22b510bfa95a1ea41a0eba694c2a042c6fd81950d798b0ecd7bd863 |
|
MD5 | cb587ba10dece34055adc3fef722a4f2 |
|
BLAKE2b-256 | 2b8eab4d71e2be46f00b0063cbdfd4e7c3ecf74832b0005c5133d7c5b11b833d |
Hashes for Covid19Dashboard_ah1062-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77fac3d41a80ea768d79a3557203c4bfc68efc61f1a296653ceadd16d87619ad |
|
MD5 | fe376f34997a70d81e6e981e2e5b39f1 |
|
BLAKE2b-256 | 9e594bb1b779dd45f665095e85329b7ffa2030652cbdcd9081d97fe82422331a |