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
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.4.5.tar.gz
(8.0 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.4.5.tar.gz.
File metadata
- Download URL: staticdash-0.4.5.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb82209e52bc0f13be2c184e48bafa776c00d94ee0d4760ff273008918d621d1
|
|
| MD5 |
db1c8794d10c99835ba68b90d8a5e45a
|
|
| BLAKE2b-256 |
c375a6ff826a6e66555abb945a3c61dbcd411eb545777ec4092dbff73818d4ca
|
File details
Details for the file staticdash-0.4.5-py3-none-any.whl.
File metadata
- Download URL: staticdash-0.4.5-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8375902689d5818cd2682ebb9f23a756808d5d882abb7d89e421eb4ae104a2a8
|
|
| MD5 |
a22378292ff3a9aa8d1d1fb5e4e51942
|
|
| BLAKE2b-256 |
5646cc4abc67f01499864b410954e4356b91a1efea17dcc19126cab4d1836c67
|