Skip to main content

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

Project description

PathwayViz

Real-time dashboards for streaming data pipelines. Zero config, embeddable, fast.

License: MIT Python 3.11+

What is PathwayViz?

Pathway handles streaming aggregations. PathwayViz makes them visible.

import pathway as pw
import pathway_viz as pv

orders = pw.io.kafka.read(...)
totals = orders.reduce(revenue=pw.reducers.sum(pw.this.amount))

pv.stat(totals, "revenue", title="Revenue", unit="$")
pv.start()
pw.run()

Open http://localhost:3000 → live dashboard.

Note: the Python module name is pathway_viz (e.g. import pathway_viz as pv).

Quick Start

pip install pathway-viz
import pathway_viz as pv

pv.stat("revenue", title="Revenue", unit="$")
pv.start()

Installation

# Basic package (simple demo, no external dependencies)
pip install pathway-viz

# Full demo with Kafka/Redpanda + Pathway + DuckDB
pip install pathway-viz[demo]

Run demos

pathway-viz demo --mode simple # No Docker required pathway-viz demo # E-commerce demo (requires Docker)

Scaffold a new project

pathway-viz init my-dashboard           # Creates project with Docker files
pathway-viz init my-dashboard --k8s     # Include Kubernetes manifests

# View templates
pathway-viz templates                   # List all templates
pathway-viz show docker-compose         # Print template to stdout

Widgets

Widget Purpose Example
stat Big numbers pv.stat("revenue", title="Revenue", unit="$")
chart Time series pv.chart("latency", title="Latency", unit="ms")
gauge Bounded values pv.gauge("cpu", title="CPU", max_val=100)
table Live rows pv.table("events", columns=["time", "msg"])

Embedding

pv.configure(embed=True)
pv.stat("revenue", title="Revenue")
pv.start()
<iframe src="http://localhost:3000/embed/revenue"></iframe>

Documentation

For comprehensive guides, see the docs/ folder:

  • Concepts — How PathwayViz, Pathway, and windowing work
  • Widgets — All widget types with parameters and examples
  • Persistence — DuckDB, Pathway checkpointing, surviving restarts
  • Deployment — Docker, Kubernetes, reverse proxy setup
  • E-commerce Example — Kafka + Pathway demo with embedded widgets and optional DuckDB persistence

Docker

Pre-built images are available on Docker Hub:

# Pull the image
docker pull mvfolino68/pathway-viz:latest

# Run the simple demo
docker run -p 3000:3000 mvfolino68/pathway-viz pathway-viz demo --mode simple

# Or use your own pipeline
docker run -p 3000:3000 -v $(pwd)/my_pipeline.py:/app/pipeline.py \
  mvfolino68/pathway-viz python /app/pipeline.py

CLI Reference

pathway-viz demo [--mode simple|pathway] [--port PORT]   # Run demos
pathway-viz init DIRECTORY [--k8s] [--force]             # Scaffold project
pathway-viz show TEMPLATE                                 # Print template
pathway-viz templates                                     # List templates

Architecture

Pathway Pipeline → PathwayViz Python (`pathway_viz`) → Rust WebSocket Server → Browser
                                              ↓
                                      Ring buffers for history

The Rust WebSocket server handles high-throughput broadcast without Python GIL bottlenecks.

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.2.tar.gz (218.6 kB 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.2-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (998.7 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ ARM64

pathway_viz-0.1.2-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (998.7 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ ARM64

pathway_viz-0.1.2-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (998.6 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ ARM64

pathway_viz-0.1.2-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.0 MB view details)

Uploaded PyPymanylinux: glibc 2.17+ ARM64

pathway_viz-0.1.2-cp311-abi3-win_amd64.whl (726.6 kB view details)

Uploaded CPython 3.11+Windows x86-64

pathway_viz-0.1.2-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (997.3 kB view details)

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

pathway_viz-0.1.2-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (998.6 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARM64

pathway_viz-0.1.2-cp311-abi3-macosx_11_0_arm64.whl (896.0 kB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

pathway_viz-0.1.2-cp311-abi3-macosx_10_12_x86_64.whl (907.0 kB view details)

Uploaded CPython 3.11+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: pathway_viz-0.1.2.tar.gz
  • Upload date:
  • Size: 218.6 kB
  • 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.2.tar.gz
Algorithm Hash digest
SHA256 d805748ea3f91d7bc91649cbaee901e0bc299753e3f2a988a71b24b58bd48203
MD5 3e308d67ae64d5b1168a6087df472c1d
BLAKE2b-256 70fd6f638730ad94b34cd818d66b696e3b2b151b15a484ba7514bfe70417142f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathway_viz-0.1.2.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.2-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pathway_viz-0.1.2-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 f451591bbf69f917481ad6b68e28ea371e4415536f5d4fc67a25496202c6f4a3
MD5 fa5b500105deb03e0497998b1cf7c78b
BLAKE2b-256 94022e03d09b30d691d0f6f3d1432ae19e32dac336020e68fdc14d46642b818c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathway_viz-0.1.2-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.2-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pathway_viz-0.1.2-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 d02c3946eaec421a051dc67ff01185d61950c85bcf3b567217e1d63424f87ed8
MD5 437a6de0838e1143d92f82d1ff228949
BLAKE2b-256 adeaeb5b57779bf490187961dd578dbb6471da69ab0fac17b5a20b4133ea7801

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathway_viz-0.1.2-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.2-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pathway_viz-0.1.2-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6320ce2043b151833ab9e67a8e0e45426942fbf91c9af3390747c607f219487e
MD5 eff728143497846ca8710908f34b1764
BLAKE2b-256 7ecec9dbf43a43846f6bb7154c749bef0e4de2ddef8d463e5af645b0b2931e60

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathway_viz-0.1.2-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.2-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pathway_viz-0.1.2-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 6c4bac34878293f41dbdad039366a9c2154902ddae88a838239702cf7af7eacc
MD5 49091d7f088e922454c48f9df50bfcaa
BLAKE2b-256 bd763a978dce9f89169420446b62900198e6307d57ae1e1bf1722b76bd386942

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathway_viz-0.1.2-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.2-cp311-abi3-win_amd64.whl.

File metadata

  • Download URL: pathway_viz-0.1.2-cp311-abi3-win_amd64.whl
  • Upload date:
  • Size: 726.6 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.2-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2eb55dcf269ad1cd7ae989133db35a28a9e796bbb093f278e823a2aeaf6994ac
MD5 1995af9c4db9943af4704698a165d6ef
BLAKE2b-256 90e95e7940d26971ec6b4101736d40ba866a53f4f281eec80271aa5aab579e28

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathway_viz-0.1.2-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.2-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for pathway_viz-0.1.2-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 711746be1705ac33c2ad93e0cf27515ae02101577cb2c310ceb5c4f285bfe48b
MD5 2116df1c49d091ae88401431d49f7eaa
BLAKE2b-256 65054713884977a5d806dceb4271bc479baf7cb3e199a629cdb56a249e246ce5

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathway_viz-0.1.2-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.2-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for pathway_viz-0.1.2-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 72e261c67bcd25f65e682d4d8988b88f16e0b116c57e1948950e6d6bb6493ab2
MD5 1452e97045401d741a06e1fc05e8c7b1
BLAKE2b-256 078290d4c66567caddde0272a976d1628bb5b1533ca51efe15bb742f6fdb8451

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathway_viz-0.1.2-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.2-cp311-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pathway_viz-0.1.2-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 254394a58015bd82fd4768d19f98b764f5e6e44c39c04f4e36f9f4bc673d6e79
MD5 a4bc235b5f272c1d8c5f93b41272b9c1
BLAKE2b-256 1cb2b683ad3e5dbf7955018e9150440a94e1bf546e83af585d324bd1f0bb511b

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathway_viz-0.1.2-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.2-cp311-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for pathway_viz-0.1.2-cp311-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 1363cff11b15ca3906f063b817d4329bc2f4c165a8341527f04b715559bd76c6
MD5 e4b3c80e8c4b20758b1848a600766ed0
BLAKE2b-256 7566854a85dc1dde411303d23c45e18b963b791a46b9bd2580edd06207fffd98

See more details on using hashes here.

Provenance

The following attestation bundles were made for pathway_viz-0.1.2-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