Skip to content

katsar0v/self-updating-dashboard-with-voila

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Binder

Screenshot

Self-updating Voila Dashboard Example

This is an example to create a self-updating dashboard, which gets data from an api interface.

This example contains requiremements.txt for dependencies.

Local Setup

To test locally (with venv):

python -m venv venv
source activate venv/bin/activate
pip install -r requirements.txt
gunicorn api:app -b 127.0.0.1:9999 --daemon
voila dashboard.ipynb

To test locally (with conda):

conda env create self-updating-dashboard
conda activate create self-updating-dashboard
pip install -r requirements.txt
gunicorn api:app -b 127.0.0.1:9999 --daemon
voila dashboard.ipynb

This will open a new browser tab at http://localhost:8866 serving the dashboard.

Do not forget to run jupyter labextension install @jupyter-widgets/jupyterlab-manager if testing in JupyterLab.

About

An example for a self-updating dashboard with voila

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published