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
pip install staticdash
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
Examples
This repository includes two example dashboards that demonstrate staticdash capabilities:
- Tutorial Dashboard: View tutorial_output/index.html - A comprehensive tutorial showing all staticdash features
- Directory Example: View directory_out/index.html - Demonstrates the Directory class for aggregating multiple dashboards
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
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-2026.2.tar.gz.
File metadata
- Download URL: staticdash-2026.2.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e08700180c22a45f6249c182f978cf66bca2ae2d388983052a9bd98deb57f6c8
|
|
| MD5 |
858f41d1783b230cb90e98be4496a543
|
|
| BLAKE2b-256 |
c265a4aa3223fc9440be3feca0f4aeeeac82ef68947c18463100c0bfb5ee3ea2
|
File details
Details for the file staticdash-2026.2-py3-none-any.whl.
File metadata
- Download URL: staticdash-2026.2-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4d0a0c4dad29c4088e25148b87367b41d8aa78d42451879e0ce4d6c97ba8c9ca
|
|
| MD5 |
ad3e4b3dab85ab5d312a2673dee462d6
|
|
| BLAKE2b-256 |
d2748ec6a3b52e6f0c1f129bce799eca26a6c5fb3d6419ad9669935d74b4b9e3
|