Prism: Advanced multi-panel workspace manager for Plotly Dash
Project description
Dash Prism
A multi-panel workspace manager for Plotly Dash applications.
Documentation: https://ludwigaj.github.io/dash-prism/
What is Dash Prism?
Dash Prism provides a unified workspace where multiple Dash layouts coexist as tabs within resizable, splittable panels. Users arrange their workspace via drag-and-drop while developers focus on building content.
The Problem
Building dashboards with Plotly Dash typically means:
- Fragmented applications - Each dashboard lives in isolation, requiring users to switch between browser tabs or navigate complex menus.
- Repetitive UI work - Developers spend time on layout scaffolding, tab systems, and panel management instead of business logic.
- One-size-fits-all layouts - Users get a fixed arrangement that may not match their workflow.
- No personalization - Workspaces reset on every visit; users cannot save their preferred view.
The Solution
Dash Prism addresses these issues by providing:
- Unified workspace - Register any number of layouts; users open them as tabs in a single interface.
- User-driven design - Drag tabs to split panels, resize areas, and rearrange freely. Developers define content; users define structure.
- Persistence - Workspace state saves to localStorage, sessionStorage, or memory so users return to exactly where they left off.
- Minimal boilerplate - A decorator-based API keeps layout registration concise and readable.
Installation
Requirements: Python 3.10+, Dash 3.1.1+
pip install dash-prism
Quick Start
import dash
from dash import html
import dash_prism
app = dash.Dash(__name__)
@dash_prism.register_layout(id='home', name='Home', icon='Home')
def home():
return html.Div('Welcome to Dash Prism')
@dash_prism.register_layout(id='analytics', name='Analytics', icon='BarChart3')
def analytics():
return html.Div('Analytics content here')
app.layout = html.Div([
dash_prism.Prism(id='workspace', persistence=True)
])
dash_prism.init('workspace', app)
if __name__ == '__main__':
app.run(debug=True)
Development
Setup
# Clone and enter the project
git clone https://github.com/LudwigAJ/dash-prism.git
cd dash-prism
# Create a virtual environment
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
# Install dependencies
pip install -r requirements.txt
npm install
# Build
npm run build
Using Just
If you have just installed:
just install # Install Python and npm dependencies
just build # Build the package
just test # Run tests
Contributing
Contributions are welcome. Please:
- Fork the repository.
- Create a feature branch.
- Write tests for new functionality.
- Ensure all tests pass (
pytest). - Submit a pull request.
See the Contributing Guide in the documentation for more details.
License
Apache License 2.0. See LICENSE for 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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dash_prism-0.1.0.tar.gz.
File metadata
- Download URL: dash_prism-0.1.0.tar.gz
- Upload date:
- Size: 149.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46864262a81cf54f1504abb07b426098825faab1b688e7b0a2faf80ad9ef39a4
|
|
| MD5 |
11cb219dccc7cb82558e8b5ef2517483
|
|
| BLAKE2b-256 |
774fa2a8e46e4241cd513f0eaaae125ea259f4dfb99de5cc446176c1e6cbc3db
|
Provenance
The following attestation bundles were made for dash_prism-0.1.0.tar.gz:
Publisher:
publish.yml on LudwigAJ/dash-prism
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dash_prism-0.1.0.tar.gz -
Subject digest:
46864262a81cf54f1504abb07b426098825faab1b688e7b0a2faf80ad9ef39a4 - Sigstore transparency entry: 815545873
- Sigstore integration time:
-
Permalink:
LudwigAJ/dash-prism@d6845fe86d0b32996ad3db5febd62d5129e3011f -
Branch / Tag:
refs/tags/v0.1.0-2 - Owner: https://github.com/LudwigAJ
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d6845fe86d0b32996ad3db5febd62d5129e3011f -
Trigger Event:
release
-
Statement type:
File details
Details for the file dash_prism-0.1.0-py3-none-any.whl.
File metadata
- Download URL: dash_prism-0.1.0-py3-none-any.whl
- Upload date:
- Size: 153.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dbe8d7653c06941d62dec491f25b40cfbb0b42c14553cb96b3024fc0b8b18fd7
|
|
| MD5 |
f7a536ef1da8f5c5acafeae7b6971326
|
|
| BLAKE2b-256 |
f991f7db445e652f8e220b87565dc142d9461c25a58c9e71b3349e01fdb7360a
|
Provenance
The following attestation bundles were made for dash_prism-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on LudwigAJ/dash-prism
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dash_prism-0.1.0-py3-none-any.whl -
Subject digest:
dbe8d7653c06941d62dec491f25b40cfbb0b42c14553cb96b3024fc0b8b18fd7 - Sigstore transparency entry: 815545888
- Sigstore integration time:
-
Permalink:
LudwigAJ/dash-prism@d6845fe86d0b32996ad3db5febd62d5129e3011f -
Branch / Tag:
refs/tags/v0.1.0-2 - Owner: https://github.com/LudwigAJ
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@d6845fe86d0b32996ad3db5febd62d5129e3011f -
Trigger Event:
release
-
Statement type: