Skip to content
An example for a self-updating dashboard with voila
Jupyter Notebook Python Shell
Branch: master
Clone or download
Latest commit 29af25d Nov 2, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore initial commit Oct 26, 2019
README.md add notice in readme Nov 2, 2019
api.py initial commit Oct 26, 2019
dashboard.ipynb initial commit Oct 26, 2019
requirements.txt add voila as dependency Nov 2, 2019
screenshot.gif change screenshot to gif Nov 2, 2019
start add entrypoint for binder Nov 2, 2019

README.md

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.

You can’t perform that action at this time.