https://github.com/danwild/panel-demo
A PyViz Panel demo for C3DIS
https://github.com/danwild/panel-demo
Last synced: 12 months ago
JSON representation
A PyViz Panel demo for C3DIS
- Host: GitHub
- URL: https://github.com/danwild/panel-demo
- Owner: danwild
- Created: 2021-06-21T23:18:24.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2021-06-24T00:14:58.000Z (almost 5 years ago)
- Last Synced: 2025-06-19T05:03:51.279Z (12 months ago)
- Language: Jupyter Notebook
- Homepage: https://binder.pangeo.io/v2/gh/danwild/panel-demo/main
- Size: 1.94 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Panel Demo [](https://binder.pangeo.io/v2/gh/danwild/panel-demo/main)
A PyViz [Panel](https://panel.holoviz.org/index.html) demo for C3DIS:
[But can it do X? A software journey to be all things to all people, starring: Python, Jupyter, and Panel](http://www.c3dis.com/events/but-can-it-do-x-a-software-journey-to-be-all-things-to-all-people-starring-python-jupyter-and-panel)
---
Notebooks:
- `1_bokeh_plot` - simple Bokeh plot example
- `2_panel_plot` - example of integrating Bokeh with a Panel app
- `3_panel_interactive` - example of Panel's declarative patterns for interactivity
- `4_modularize` - move our logic to a python module
## Install: Conda
```
conda env create -f environment.yml
conda activate panel_demo
```
## Run: Conda
```shell
# Bokeh server:
panel serve --show src/panel_app.py # -> http://localhost:5006/panel_app
# Jupyter Lab:
jupyter lab
```
## Build, run: Docker
Demo containerised bokeh server app only (i.e. no Jupyter).
```shell
# see Makefile for cmd's if not using make
make build
make run # -> http://localhost:5006/panel_app
make stop
```
## Links
- [Panel's comparisons](https://panel.holoviz.org/about/comparisons.html)
- [Stephen Kilcommins, Streamlit vs Dash vs Voilà vs Panel — Battle of The Python Dashboarding Giants](https://medium.datadriveninvestor.com/streamlit-vs-dash-vs-voil%C3%A0-vs-panel-battle-of-the-python-dashboarding-giants-177c40b9ea57)
- [Jupyter Dashboarding — some thoughts on Voila, Panel and Dash](https://medium.com/informatics-lab/jupyter-dashboarding-some-thoughts-on-voila-panel-and-dash-b84df9c9482f)
- [Original "Research Impact Pathway" graphic](https://www.nature.com/articles/s41467-019-12020-z)