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 a new project

# View templates
pathway-viz templates                   # List available templates
pathway-viz show pipeline               # View pipeline template
pathway-viz show docker-compose         # View Docker compose template

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.3.tar.gz (216.8 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.3-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (997.3 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ ARM64

pathway_viz-0.1.3-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (997.4 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ ARM64

pathway_viz-0.1.3-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (997.3 kB view details)

Uploaded PyPymanylinux: glibc 2.17+ ARM64

pathway_viz-0.1.3-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.3-cp311-abi3-win_amd64.whl (724.5 kB view details)

Uploaded CPython 3.11+Windows x86-64

pathway_viz-0.1.3-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (995.6 kB view details)

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

pathway_viz-0.1.3-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (996.4 kB view details)

Uploaded CPython 3.11+manylinux: glibc 2.17+ ARM64

pathway_viz-0.1.3-cp311-abi3-macosx_11_0_arm64.whl (894.4 kB view details)

Uploaded CPython 3.11+macOS 11.0+ ARM64

pathway_viz-0.1.3-cp311-abi3-macosx_10_12_x86_64.whl (905.2 kB view details)

Uploaded CPython 3.11+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: pathway_viz-0.1.3.tar.gz
  • Upload date:
  • Size: 216.8 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.3.tar.gz
Algorithm Hash digest
SHA256 fbfb73520315f1ac7bfd45c9d03ba14d67ab2587c1d3c4466fc79334b0b46b10
MD5 9b21a18fe20f6ee3d57b07a10d9b0694
BLAKE2b-256 af64c623e606558b922e60bc8e703ec7c104623532c5e9af3358ca97f214adbb

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.3-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2bf72f62aa68c6dfece4133a427fc0d2394680b09e045ac25dd2bbcb30a7b2b3
MD5 8a6d9b67af5bcd09b75f3b72ff249e8a
BLAKE2b-256 caaa152f03bbcd92684d22c159b5704b81f423f89290cf62e7b282cbaae36b60

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.3-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 5a76c50e6979ccbc0a0d67127bd07a374b0732ab9a360a80e988d5d053fa3e47
MD5 c8c5df4f3436ba3f3d7d9f1ea70d624b
BLAKE2b-256 f078a58a518d682c06885550bf2d1c19afbcc49c8798b310c23fe87135ceb8d7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.3-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 3d847cba8a107b8b1bc87cd06e42851c7dee4fc5da4eb520282b7b8c60a51dd0
MD5 09de0244d82548278d3c5ca3064380f9
BLAKE2b-256 d17c62f4847a2695fe4dfc46f42043b19b496aba201664b7e666a7c28f6f99c0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.3-pp37-pypy37_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 35a9ee4aecbfa9d0357ada3b011e3a3c809022161b1934ebc31dbba15f1396fc
MD5 c6e0eb8e53327cc1903865d660b0b802
BLAKE2b-256 8c73e6e873356fbf36e50b0e47d39427d609c5a46234ce723eaab9e19d76e271

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pathway_viz-0.1.3-cp311-abi3-win_amd64.whl
  • Upload date:
  • Size: 724.5 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.3-cp311-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 bbe17dc28d5c62c9a9ad61869f717cfe3928bfed8f6d0d1d3fa9965e84aaae67
MD5 fb10ab43b8a208187a18c5421082af57
BLAKE2b-256 c159e5c4ed13f42545254dc9423c0f1f42ca4574c1d799c056abd43b0b970bed

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.3-cp311-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ceaee04a95e7bdf6f649f89cffaceac61960eb11e16fa2b12af943ab413c9cbb
MD5 a8d39a84187f99af02c5b7ee4be2bc74
BLAKE2b-256 1fb9583128043b34986e598fb9dea8b006de8ded1fdf5f549546f4985b3fef6a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.3-cp311-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 74853c964d8c85efc79d677bce037ab30ae14f68fbe4571e4c1f40a9e708403c
MD5 e18b8b0da769dc13573ba7b42b5ec89c
BLAKE2b-256 f5ff38cb4b96e6e868184980cda127f2b4c4f115ec7fed36cd754d850fb31d32

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.3-cp311-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7a8451f4de16028115d29f0bbf7b7bf94076b993560b59a72f6b7419541bba7d
MD5 af29e7e1e6035688e57a83de5d5cc776
BLAKE2b-256 2a94232e58324f7f62bb716a66eb162905a4a9ed1afa921fec10a03fc3acfd83

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pathway_viz-0.1.3-cp311-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b43bc3baa5da89753f7105f11e098bd6790de24b2feec41edc89805a19a20d89
MD5 287f35f63b5eb79bf98313ea92725447
BLAKE2b-256 47c7862442402c58077dad92e39c23ad066a91ea7e991417a4379e7a166e7bf8

See more details on using hashes here.

Provenance

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