Skip to content

sponthus/python-shiny

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 

Repository files navigation

python-shiny

Description

Python for Shiny allows to create reactive apps im python for visualizing data. This repo has been created to learn its basics, using a dataset from Ameli about COVID vaccination through time.

πŸ“ Status

Functional πŸ†—
Possible improvements :
⭐ Better data cleaning
⭐ Better UI for city choice
⭐ Add different graphical representations and data split

πŸ“˜ Project composition

  • data.py : From official data, completes a few missing data that can be deduced and exports it as modified-data.csv
  • shared.py : Opens modified-data.csv
  • app.py : Core app center, linking UI and server
  • app_ui.py : Contains the UI components and their parameters
  • app_server.py : Contains all the functional rendering, sent to UI

πŸŒ€ Clone

Clone the repository and enter it :

git clone https://github.com/sponthus/python-shiny
cd python-shiny

πŸƒ Run

From the dashboard directory, create a virtual environment and set it up using :

cd dashboard
python3 -m venv .venv
source .venv/bin/activate
(.venv) ➜ pip install -r requirements.txt

The modified data obtained with data.py is already exported in repo. Then, run the Shiny app in browser with :

shiny run --reload --launch-browser app.py

Be awarwe that this is a proof of concept, and not designed to be a finished product : I only do researches on various subjects !

πŸ€— Thanx !

Made by sponthus

About

Python-Shiny experiment to create a dashboard for vaccination data

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors