Skip to main content

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 Page objects and add them to your Dashboard
  • Custom styling: Edit assets/css/style.css for 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


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.2.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

staticdash-0.3.2-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file staticdash-0.3.2.tar.gz.

File metadata

  • Download URL: staticdash-0.3.2.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for staticdash-0.3.2.tar.gz
Algorithm Hash digest
SHA256 d0a49db3b38aae4ca04f4fe673de1e48faa9426e3a4a5cf9c51e692072217cb5
MD5 169e5b8dfb107081361dc85fc0c5fb84
BLAKE2b-256 ece712a0037caa7226cb389b2762135396a11ce43cf45c91ddbd939566ccfab2

See more details on using hashes here.

File details

Details for the file staticdash-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: staticdash-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 7.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for staticdash-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 46e9a5594d7902afc23a2ecd856b1fae436a99837e9bfd0a73cba10d4bb9aa30
MD5 d85f535ea29f11745c73ae71c5821799
BLAKE2b-256 87b4fc69a91cef636e3b25207db1080e955d9e2102b1f6a7eb1cefc545ab7557

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page