Skip to main content

The visualization layer for Pathway - real-time dashboards for streaming data

Project description

PathwayViz

Real-time dashboards for streaming pipelines. No frontend code required.

Build once in Python, then:

  • run a live dashboard at http://localhost:3000
  • embed individual live widgets in your app via iframes at http://localhost:3000/embed/{widget_id}

PyPI License: MIT

The Problem

You're building a streaming pipeline. You want a dashboard to see what's happening. Your options:

  1. Jupyter notebooks — Great for exploration, but you can't deploy them or embed them in your app
  2. Grafana/Prometheus — Works, but now you need to set up metrics exporters, another service, learn PromQL
  3. Build a React app — Now you're maintaining frontend code, WebSocket connections, state management

PathwayViz is a simpler option: add a few lines of Python, get a production-ready dashboard.

How It Works

import pathway as pw
import pathway_viz as pv

# Read from Kafka/Redpanda (or any Pathway source)
orders = pw.io.kafka.read(...)
totals = orders.reduce(revenue=pw.reducers.sum(pw.this.amount))

# Widgets auto-update when Pathway updates the table
pv.stat(totals, "revenue", title="Revenue", unit="$")
pv.start()
pw.run()

Run it, open http://localhost:3000, done.

<iframe src="http://localhost:3000/embed/revenue"></iframe>

See Embedding docs for React and Svelte components.

Architecture

flowchart LR
    A[Pathway Pipeline] --> B[PathwayViz Python]
    B --> C[Rust WebSocket Server]
    C --> D[Browser]
    C --> E[Ring Buffers]

The Rust server handles high-throughput WebSockets and caches recent history in ring buffers so new clients can instantly catch up.

Why Rust?

PathwayViz uses a small Rust extension module (built with pyo3) for the hot path:

  • WebSocket fan-out to many browser clients (Tokio + Axum)
  • in-memory ring buffers for recent history per widget
  • serving the embedded frontend assets from the binary

This keeps the runtime responsive under load and avoids Python bottlenecks in the networking/event-loop layer.

Demo

PathwayViz Demo

Install

pip install pathway-viz

Documentation

Roadmap

  • Core widgets: stat, chart, gauge, table
  • Pathway integration
  • Embed mode for iframes
  • Theme customization
  • Prometheus metrics endpoint
  • Authentication

License

MIT

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

pathway_viz-0.1.5.tar.gz (2.1 MB view details)

Uploaded Source

Built Distributions

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

pathway_viz-0.1.5-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (961.1 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ ARM64

pathway_viz-0.1.5-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (961.1 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ ARM64

pathway_viz-0.1.5-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (961.2 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ ARM64

pathway_viz-0.1.5-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (964.0 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ ARM64

pathway_viz-0.1.5-cp311-abi3-win_amd64.whl (700.1 kB view details)

Uploaded CPython 3.11+Windows x86-64

pathway_viz-0.1.5-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (970.0 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ x86-64

pathway_viz-0.1.5-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (964.9 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARM64

pathway_viz-0.1.5-cp311-abi3-macosx_11_0_arm64.whl (862.3 kB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

pathway_viz-0.1.5-cp311-abi3-macosx_10_12_x86_64.whl (874.6 kB view details)

Uploaded CPython 3.11+macOS 10.12+ x86-64

File details

Details for the file pathway_viz-0.1.5.tar.gz.

File metadata

  • Download URL: pathway_viz-0.1.5.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pathway_viz-0.1.5.tar.gz
Algorithm Hash digest
SHA256 92fa2170384c707f8fef30728200d737da4a5a68193c0297955c2d6181df956d
MD5 408402a4654687b907e7ca19d40bc688
BLAKE2b-256 f5b4c421c49134410aeab9b8568aea45af08dd8997da964cd5068efe3ce7934f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathway_viz-0.1.5.tar.gz:

Publisher: pypi-publish.yml on mvfolino68/pathway-viz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pathway_viz-0.1.5-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pathway_viz-0.1.5-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d0cde3e6ef82b672391afb925166a6d6ef1337a23de261e877437faf1beb39bc
MD5 67181267d4de27a20b1eba96b323aafa
BLAKE2b-256 f9a9763ac36626786326a6052edf1c4dc36c92b7f368e05f9a403156ef2419e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathway_viz-0.1.5-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: pypi-publish.yml on mvfolino68/pathway-viz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pathway_viz-0.1.5-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pathway_viz-0.1.5-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 cf8c307ab288218c3d277c1e58582e8437ecb7ac7d29d32d7031b28632612c3d
MD5 e5ec5a37bb82772f86d6a8f8194cbf14
BLAKE2b-256 bd1a2fb0bfb6ed5fada802602bcbf048ec8a98faf6756714ed33e5f35417a571

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathway_viz-0.1.5-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: pypi-publish.yml on mvfolino68/pathway-viz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pathway_viz-0.1.5-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pathway_viz-0.1.5-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 198c4b8c9e14ffc44f40043e5d55ad60a9275e0eb479a0c5119e3cc7d835e5a9
MD5 02481b29fdf1607f3a53b3061766b37d
BLAKE2b-256 c080f48fc87b5607049f453a2e6ecc5f96ba7f9a66046d74cbd80ec37e6ef8c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathway_viz-0.1.5-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: pypi-publish.yml on mvfolino68/pathway-viz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pathway_viz-0.1.5-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pathway_viz-0.1.5-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 e70357e621068054130e5d058396629cc1ade453663d4afffe7472f08e7e3567
MD5 529867bd8152a4cc5409909b76bdeef1
BLAKE2b-256 a8f3bc641dc38681b83a50b980f166bb3dc2a600a619918233050d9f9b0704a8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathway_viz-0.1.5-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: pypi-publish.yml on mvfolino68/pathway-viz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pathway_viz-0.1.5-cp311-abi3-win_amd64.whl.

File metadata

  • Download URL: pathway_viz-0.1.5-cp311-abi3-win_amd64.whl
  • Upload date:
  • Size: 700.1 kB
  • Tags: CPython 3.11+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pathway_viz-0.1.5-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 18accd55cb0b724ec7ccb1f88663a75366f14e6159da8a6a4976274ac745b1b3
MD5 07d952e70d2eb03f58af68d41dcfe35d
BLAKE2b-256 9e1fe60cf571b6e2a2512eca49869d31b7ab99a0dff7b7dfda95f2d56bda0918

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathway_viz-0.1.5-cp311-abi3-win_amd64.whl:

Publisher: pypi-publish.yml on mvfolino68/pathway-viz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pathway_viz-0.1.5-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pathway_viz-0.1.5-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9fc1dd232cc06c4f90f810d78b37983b8ca14a5721d407aa69eec478efb42726
MD5 a7c686b07464da73c49ed0f2d04ae480
BLAKE2b-256 c122ccca0dabd86082c85698b48a23dc18463b6fd0320e894ce11fca5eb1e8d9

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathway_viz-0.1.5-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: pypi-publish.yml on mvfolino68/pathway-viz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pathway_viz-0.1.5-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pathway_viz-0.1.5-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 99113cde70d448058ccbe45ba839a58872a9393df28ba84f32226f6b87f99ce7
MD5 6621854842a259c829514af5cfa55d27
BLAKE2b-256 cad26e98313431a4766dabfa2c2ebf991a9ee0f6839d79206f2baede90a0fe66

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathway_viz-0.1.5-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: pypi-publish.yml on mvfolino68/pathway-viz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pathway_viz-0.1.5-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pathway_viz-0.1.5-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a98a314c0ef7c83eeca3cc7f8a03af4fb674208b86deab0e7b4a0dc255e676c7
MD5 6cf991f5a80ffc7b8e5732e0579be963
BLAKE2b-256 49f803435ce178ac9c4a93036673b415128f0e54238dee06784a827614119a15

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathway_viz-0.1.5-cp311-abi3-macosx_11_0_arm64.whl:

Publisher: pypi-publish.yml on mvfolino68/pathway-viz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pathway_viz-0.1.5-cp311-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for pathway_viz-0.1.5-cp311-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 48c801c2f6c4281f84a9019715866bbc63648f70cc3b86a3364ada0b8f873254
MD5 863a18367d494913f51260d3d97ae186
BLAKE2b-256 57d603bb742c5ed647e21866348a746ec8504f9ef066687ab04d1aefa8f1ead5

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathway_viz-0.1.5-cp311-abi3-macosx_10_12_x86_64.whl:

Publisher: pypi-publish.yml on mvfolino68/pathway-viz

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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