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 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.1.tar.gz (218.5 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.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (998.6 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ ARM64

pathway_viz-0.1.1-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.1-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.1-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.1-cp311-abi3-win_amd64.whl (726.3 kB view details)

Uploaded CPython 3.11+Windows x86-64

pathway_viz-0.1.1-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.1-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (998.4 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARM64

pathway_viz-0.1.1-cp311-abi3-macosx_11_0_arm64.whl (895.5 kB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

pathway_viz-0.1.1-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.1.tar.gz.

File metadata

  • Download URL: pathway_viz-0.1.1.tar.gz
  • Upload date:
  • Size: 218.5 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.1.tar.gz
Algorithm Hash digest
SHA256 de7feb086bd48b312623cf5c064f649e3c797d590489c6898d6b4c5eecc67703
MD5 d1ba17f9fff9c0f1a27a0e7d0b5c16f4
BLAKE2b-256 fa5be8e079ba51dce3aafd6f44fd37ae761dc3896915e1a354d7b101d5950b83

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 43739989f5466f99ddcd1c734f36683f71a3d58be76d69a8eb5d85a1ca0cda46
MD5 67474ad59c88371a87ec81675d96e644
BLAKE2b-256 60381cef7610de958ffbc28ce0c33bfcca8dacff8321fda969dcc1000c83c919

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5ae2506b9f27c339bc1c68121a3d9095269eb4ea22b95b745974174530fcf879
MD5 336ecae88415940c112c1ae6bbc34ad7
BLAKE2b-256 d6f56979b7be99541608cb9647a5075a01ecfdeffc20d77e5e851d1d88f74580

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.1-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0b137cab0b6357920417a9ae6547ba74a17d8474561b603e5f9afda099650662
MD5 8618ed2c6d3b5fee857553f0a5e21fa0
BLAKE2b-256 7d896ff4e04ebd546b3cab6028e88079a8468272e2f0356be561d40ca44e5e4f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.1-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c43316ce81f0f3cc23bc4811b10f81fb7691c18ab8e2c5e97a8a77a98d0d1443
MD5 0d4672c4e4b1cc2b94819f42a499e5e7
BLAKE2b-256 0cb76892adcdc26fbc2df188490d6df2bc1550d61a2056cf4784b562401bf9db

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pathway_viz-0.1.1-cp311-abi3-win_amd64.whl
  • Upload date:
  • Size: 726.3 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.1-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 de36108c572c4f1f187fbebb5d913f6df43ecc7d917bc128157d152f67cf2260
MD5 a8322eeb61f7a05aceaa5f65d6b2abd4
BLAKE2b-256 23b80362063ec555000c2fbedf29b6a26736226b23722bb4b328f249cef6793e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.1-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 56b67559aa4a1ef9b1d4bc39d1070ca5e07656d4fae13295433d8ac4ba2537a9
MD5 716c24959a90ec81134025b4cd629a5e
BLAKE2b-256 2b8d8ef7116602e43bd1bfeed96dfa7166d3d3f93ff83cd4fd5fbc75f612188d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.1-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 0b16876e26fe8a67a5cccddc0617f24b40e42f6d4dc738c15d88eadbe5a7bab6
MD5 1c696ddac25f013ace6bf0530f27dfa2
BLAKE2b-256 d3374b124ca16df867c08dfb5e964a3c1ab957f8fd2b5da0d9b2b6b2af6e6637

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.1-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3ff6a22c8e2f70feacdc35f50589abb82038f36412185ef752406aea9cfb37d7
MD5 28cf81e6e334e4d57224949eb42e5e5d
BLAKE2b-256 602b316e1648d9a61c838e59aa62f313003632572e5a5d287ea532542a3b5ef4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.1-cp311-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c0df083f799bee9fab4e6a7e3cbe04e4e000dba045060c6272d3dbce72be92b5
MD5 aa730907191d883e63c18f40e5b9d126
BLAKE2b-256 68ac7d3f71b17fee05072763b82c7705e0896c9ec7df4c2fcaddeb2f56e68124

See more details on using hashes here.

Provenance

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