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).

Install

pip install pathway-viz            # Basic
pip install pathway-viz[pathway]   # With Pathway
pip install pathway-viz[all]       # Everything

Quick Start

pip install pathway-viz

# 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 python -m pathway_viz --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.0.tar.gz (218.9 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.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (999.0 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ ARM64

pathway_viz-0.1.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (998.9 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ ARM64

pathway_viz-0.1.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (999.0 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ ARM64

pathway_viz-0.1.0-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.0-cp311-abi3-win_amd64.whl (726.2 kB view details)

Uploaded CPython 3.11+Windows x86-64

pathway_viz-0.1.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (997.2 kB view details)

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

pathway_viz-0.1.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (998.1 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARM64

pathway_viz-0.1.0-cp311-abi3-macosx_11_0_arm64.whl (896.1 kB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

pathway_viz-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl (907.1 kB view details)

Uploaded CPython 3.11+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: pathway_viz-0.1.0.tar.gz
  • Upload date:
  • Size: 218.9 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.0.tar.gz
Algorithm Hash digest
SHA256 072fdd27baa963086fb661824304d1490a0d2d9a2d53c85faaec6160ec665506
MD5 1d112c8787f07f6b7121c0688de5eaf2
BLAKE2b-256 21647d392ea34fd394bf4b6078a10a8e155d5f1a10390e26dc6b37088d5dd2b8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 62fe434a5289dee9cd26ace60e51146a578f5b6077f3738efab7dba95d32d909
MD5 3af83f2bc3c35bd655c4b979e90531c8
BLAKE2b-256 119b326d63671331601ac0ce0821da56865829b69d424e3015a862ceb6611ee7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.0-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c11f29a796b7928f0d9822a700086775312ac32dc0e9c8b6ffab18a9b315372e
MD5 c8155062f57b707677aa3064eb94fd3e
BLAKE2b-256 d9c637c8bed220657e1557c1fb21d4de0877d9d01c016346884a6acf2e89da33

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.0-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 02eac014869483720bb3f136c8cb8f69e60568b598e52523777f7bfa55d13b53
MD5 de4a22ecd022bb36b4c624aed0bb3804
BLAKE2b-256 966d951241b0de0d5b433520471c10c1e0d9d9ecdd1e0b9f1ed7989e5f727229

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.0-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8bbb83da2a8b23f0fbd2b3b7883d5cf1a63a50747d4bb7482436454e4c435810
MD5 e424db921cc23f08d84b3fd4d8d2ecd5
BLAKE2b-256 8eb1b952acee505e459ebbad927202c359d159f7f13e64b14079f967d2075cbf

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pathway_viz-0.1.0-cp311-abi3-win_amd64.whl
  • Upload date:
  • Size: 726.2 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.0-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c88cde6abf30af80cfa9e87568b49fee93ec7519dd2736bb3897d24dd120e914
MD5 a438bcecb8380ebec3ba80fb18cc1b0f
BLAKE2b-256 991ce2874758da378f89801088f73811e6e3e083b5ce919d2a630f75708257d5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.0-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 755f564a2c7afb8ab375f2c3cd9d55ee2e4302df2e465e29abc951c66873cc25
MD5 ca4cca1efe220768436f3c3d85a58d8d
BLAKE2b-256 1141fa0f8f24b6d72ec2cbf8019adb931384c0f3a9d0534df9906872282719a5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.0-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 438537e4bebc6259534ca868f28adc4c4a245db6974fdb7a710ecf467f65353c
MD5 941c73c73437b730a247d74891f84797
BLAKE2b-256 c8aa57758927e8d029e31306df7ffdd9c6f6ab3d6a6a4590564da297370754f2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.0-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c2cf03ab2331a0a1f83b8b94a623770145409ebefee2376caa0806d27da1d7bb
MD5 7c5faf6eb02f839809bd9f1c6355b173
BLAKE2b-256 cf6762a27ff6bb637adfd14b341fbe8524210e6e4a2f4d7f9921a058dc55526f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.0-cp311-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 9d24513a25edcf5f25e636901fd13195415e96816e390dc08a2ea8b41a86d752
MD5 e889af09ec54ea24a010dd69cc56a2d3
BLAKE2b-256 4dd24f6a499b414f62c6ad8a865c691c93dad20058076b33f296e5937af7cdcf

See more details on using hashes here.

Provenance

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