Skip to main content

staticdash

staticdash logo

staticdash is a lightweight Python module for creating static, multi-page HTML dashboards. It supports:

  • Plotly plots: Interactive, responsive visualizations
  • Matplotlib figures: Static plots and charts
  • Pandas DataFrames: Sortable, searchable tables
  • Rich text formatting: Full Markdown support including bold, italic, strikethrough, lists, links, tables, and blockquotes
  • Math expressions: LaTeX math rendering with MathJax (inline $...$ and display $$...$$)
  • Mermaid diagrams: Flowcharts, sequence diagrams, state diagrams, and more
  • File downloads: Add download buttons for any file
  • Multi-page navigation: Hierarchical sidebar with subpages
  • Custom styling: Easily customize CSS and JavaScript
  • Air-gapped support: All assets vendored for offline environments

Installation

pip install staticdash 

Features

Content Types

  • Add Plotly figures: page.add(fig) - Interactive plots with zoom, pan, hover tooltips
  • Add Matplotlib figures: page.add(fig) - Static plots converted to PNG
  • Add tables: page.add(df) - Pandas DataFrames rendered as sortable, searchable tables
  • Add text: page.add("Your text") - Full Markdown support including:
    • Bold, italic, strikethrough
    • Lists (ordered and unordered)
    • Links, blockquotes, code blocks
    • Tables in Markdown syntax
  • Add headers: page.add_header("Title", level=2) - Markdown headers (h1-h6)
  • Add math: Use $inline math$ or $$display math$$ for LaTeX expressions
  • Add diagrams: Use ```mermaid code blocks for flowcharts, sequence diagrams, state diagrams, gantt charts
  • Add downloads: page.add_download("path/to/file", "Label") - File download buttons

Layout & Styling

  • Sidebar navigation: Fixed sidebar with hierarchical pages and subpages
  • Responsive design: Works on desktop and mobile devices
  • Custom styling: Edit assets/css/style.css for your own look
  • Per-page HTML: Individual HTML files for each page plus combined dashboard

Air-Gapped Support

All external dependencies (Plotly, MathJax, Mermaid, Prism) are vendored during installation, ensuring dashboards work completely offline without internet access or CDN dependencies.

Live Demos

Examples

The repository includes a comprehensive tutorial demonstrating all features:

Tutorial Dashboard: Run python tutorial.py to generate tutorial_output/index.html

The tutorial demonstrates:

  • Basic page creation and navigation
  • Text formatting with Markdown (bold, italic, strikethrough, lists, links, tables)
  • Plotly and Matplotlib figures
  • Pandas DataFrame tables
  • Subpages and hierarchical navigation
  • MathJax math expressions (inline and display)
  • Mermaid diagrams (flowcharts, sequence diagrams, state diagrams)
  • Directory class for aggregating multiple dashboards

For the source code, see tutorial.py in this repository.

Metadata

Release files for staticdash 2026.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for staticdash 2026.9
File Size Uploaded Provenance Actions
staticdash-2026.9.tar.gz 2.4 MB Without provenance Details for staticdash-2026.9.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for staticdash 2026.9
File Interpreter ABI Platform Actions
staticdash-2026.9-py3-none-any.whl Python 3 none any Details for staticdash-2026.9-py3-none-any.whl

Total release size: 4.8 MB

Release files / staticdash-2026.9.tar.gz

Download URL staticdash-2026.9.tar.gz
Size 2.4 MB
Tags Source
SHA-256 checksum
How to use checksums
c3b49d31919c13b67bd1ecd2d3b4b26c7d71cda4611e10b0031a11803d129583
BLAKE2b-256 checksum
How to use checksums
49d781b000e720be88eae921a1c83a968e6e16f8256ce150938227019ba029d5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release files / staticdash-2026.9-py3-none-any.whl

Download URL staticdash-2026.9-py3-none-any.whl
Size 2.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d292bdf631608e7dfa92f40aca0d94d7dfe74cf54f0f897ff84010f51aa85eb4
BLAKE2b-256 checksum
How to use checksums
55034b9b6780894b2683a81471792bb1567eef5dba4337975ccb04dc476198b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Security for staticdash 2026.9

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2026.9 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page