A lightweight static HTML dashboard generator with Plotly and pandas support.
Project description
staticdash
staticdash is a lightweight Python module for creating static, multi-page HTML dashboards. It supports:
- Plotly plots (interactive, responsive)
- Pandas DataFrames as sortable tables
- Text and headers (Markdown-like)
- File download buttons
- Multi-page navigation with sidebar
- Custom CSS and JavaScript
- Easy extension for new content types
Installation
git clone https://github.com/briday1/staticdash.git
cd staticdash
pip install .
Features
- Add Plotly figures:
page.add(fig) - Add tables:
page.add(df)(sortable by default) - Add text or headers:
page.add("Some text"),page.add_header("Title", level=2) - Add download buttons:
page.add_download("path/to/file", "Label") - Multi-page: Create multiple
Pageobjects and add them to yourDashboard - Custom styling: Edit
assets/css/style.cssfor your own look
Options
- Sidebar navigation: Fixed, with active highlighting
- Responsive layout: Works on desktop and mobile
- Export: Outputs a static HTML dashboard (no server needed)
- Per-page HTML: Also generates individual HTML files for each page
Live Demo
View the latest demo dashboard
For a full example, see demo.py in this repository.
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
staticdash-0.3.1.tar.gz
(6.8 kB
view details)
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 staticdash-0.3.1.tar.gz.
File metadata
- Download URL: staticdash-0.3.1.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4f5508054f12b42d2e5797e27fa0406dd257e5c98298e884591e7f03fe73842
|
|
| MD5 |
77fc8650560640cc404082b7f010ea94
|
|
| BLAKE2b-256 |
43f65f785054d52904afc3c7608255c6cc13ff231d694d23aa8c56c4406f789c
|
File details
Details for the file staticdash-0.3.1-py3-none-any.whl.
File metadata
- Download URL: staticdash-0.3.1-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e9b87af8f211f0baaf1472f484320ddb0d17f295cb69a78b2be51123d72572b5
|
|
| MD5 |
9e1afb0d64ac81e5ae4bb78c84555850
|
|
| BLAKE2b-256 |
eeca390652c84c4c320fbe84b97d9c4d114e1aa2ef9f3b80a19f9fa38360a1b9
|