Skip to content

Build Dataflow Dashboards in Python

panel-flowdash is a framework for building visual, dataflow-driven dashboards with Panel. Define components with typed ports, wire them together, and persist layouts to SQLite, JSON files or a store of your own.

The FlowDash wiring canvas with components connected by typed ports

Quick Demo

New to FlowDash? Try the quickstart →

Why FlowDash?

  • Component-first architecture: define reusable building blocks with @register or as Viewer subclasses.
  • Typed dataflow: ports carry type information for compile-time and runtime validation.
  • Visual wiring: connect components in a node editor, with cycle detection and single-source enforcement.
  • Edge transforms: reshape a value along a connection, picking a column, filtering rows or aggregating, without writing a component.
  • Persistence: dashboard layouts, edges, and grid positions are stored in SQLite, as JSON files, in memory, or in a store you implement.
  • One command to serve: flowdash serve my_project/ scans, registers, and launches.
  • Or no command at all: embed the FlowDash editor in an app you are already building.

Quickstart

from panel_flowdash import register

@register(component=True, page=False, provides=[{"key": "ticker", "type": "str"}])
def app(config):
    import panel_material_ui as pmui

    select = pmui.Select(label="Ticker", options=["AAPL", "GOOG", "MSFT"])
    config.ticker = select.param.value  # publish the selection on the `ticker` output
    return select
flowdash serve my_project/ --port 5006

How-to guides

Examples

Reference