Skip to main content

sayou-visualizer

PyPI version License

Overview

The Interactive Observability Engine for Sayou Fabric.

sayou-visualizer provides transparency to the "Black Box" of data pipelines. It transforms invisible execution logs and complex graph data structures into intuitive, interactive 3D Holographic Knowledge Graphs.

It serves two distinct purposes: Pipeline Telemetry (Debugging flow) and Knowledge Rendering (Showcasing data topology).


1. Architecture & Role

The Visualizer operates as a separate layer that can attach to a running pipeline (Tracer) or read static data (Renderer) to generate HTML artifacts.

graph LR
    Data[Pipeline / JSON] --> Pipeline[Visualizer Pipeline]
    
    subgraph Renderers
        Tracer[DAG Tracer]
        Analyst[Analyst KG View]
        Showcase[Showcase 3D View]
    end
    
    Pipeline --> Renderers
    Renderers --> HTML[Interactive HTML]

1.1. Core Features

  • Non-Intrusive Monitoring: Attaches to any Sayou pipeline via the callback system to visualize execution flow without modifying code.
  • Deterministic Layout: Uses physics-based rendering (Cytoscape/Force-Graph) to reveal clusters and outliers in your data.
  • Interactive Inspection: Click on nodes to inspect raw attributes, source code, or relationships in real-time.

2. Available Strategies

sayou-visualizer offers specialized views depending on who is looking at the data.

Strategy Key Target Audience Description
tracer Data Engineer Visualizes the Pipeline Execution Flow (DAG). Shows which components triggered which tasks.
analyst QA / Researcher 2D Analytic View. Focuses on strict schema validation, attribute inspection, and debugging specific relationships.
showcase Stakeholder 3D Holographic View. A visually stunning, high-performance renderer for presenting the scale and topology of the Knowledge Graph.

3. Installation

pip install sayou-visualizer

4. Usage

The VisualizerPipeline is the entry point. You can use it to render existing graph files or attach it to live pipelines.

Case A: Rendering a Knowledge Graph (3D Showcase)

Visualizes the output of sayou-assembler as an interactive 3D galaxy.

from sayou.visualizer import VisualizerPipeline

viz = VisualizerPipeline()

kg_file_path = "./output/graph_data.json"

viz.process(
    source=kg_file_path,
    destination="./output/report_showcase.html",
    strategy="showcase"
)

print("Report generated. Open 'report_showcase.html' in your browser.")

Case B: Debugging Graph Data (2D Analyst)

Generates a detailed 2D view for inspecting node attributes and edge types.

viz.process(
    source=kg_file_path,
    destination="./output/report_analyst.html",
    strategy="analyst"
)

Case C: Pipeline Tracing (Live Monitoring)

Attaches to a running Connector pipeline to visualize the crawling process.

from sayou.connector import ConnectorPipeline
from sayou.visualizer import VisualizerPipeline

connector = ConnectorPipeline()

viz = VisualizerPipeline()
viz.attach_to(connector)

connector.process(source="https://news.daum.net/tech", strategy="web")

viz.report("pipeline_trace.html")

5. Configuration Keys

Customize the visual appearance via the config dictionary.

  • showcase: node_color_by (e.g., class), particle_speed, background_color.
  • analyst: layout_algorithm (dagre/concentric), show_attributes (bool).
  • tracer: include_data_payload (bool), max_events.

6. License

Apache 2.0 License © 2026 Sayouzone

Metadata

Release files for sayou-visualizer 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sayou-visualizer 0.2.0
File Size Uploaded Provenance
sayou_visualizer-0.2.0.tar.gz 24.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for sayou-visualizer 0.2.0
File Interpreter ABI Platform
sayou_visualizer-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 50.0 kB

Release files / sayou_visualizer-0.2.0.tar.gz

Download URL sayou_visualizer-0.2.0.tar.gz
Size 24.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b86a45999d88da8decd3b93f357617bf479740738c3a774cd30e4ba2ea6f8577
BLAKE2b-256 checksum
How to use checksums
664a2dbcd504b29bd06e77d396f7d3077ed9a07ea7bc8b7081be1c2d83097ab8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / sayou_visualizer-0.2.0-py3-none-any.whl

Download URL sayou_visualizer-0.2.0-py3-none-any.whl
Size 25.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3912015aede065f6a6e9d7a6e75364cc67a8e8497324cef6b27210a19f3904d9
BLAKE2b-256 checksum
How to use checksums
6b4e082a1b2e18096595dc033701635a23187df8fc257b4072fdb991c59ddc7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for sayou-visualizer 0.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page