Skip to main content


Sinapsis
Sinapsis Data-Visualization

Visualise packet content, annotations and distributions.

Overview

sinapsis-data-visualization — Templates to perform visualization of data distributions and image annotations.

Model outputs need inspection: boxes, labels and data distributions help developers and operators understand what an Agent produced. Visualization Templates keep that work inside the graph rather than in ad hoc notebook code.

Where it fits

Rendering is a separate step from inference. The visualization-matplotlib extra is useful when plots are needed; avoid drawing every frame in performance-sensitive pipelines unless required.

Installation

Requires Python 3.13 or later, as declared in this package’s manifest. Install the base distribution using your preferred package manager:

uv pip install sinapsis-data-visualization
# or
pip install sinapsis-data-visualization

Optional features and dependencies

The base installation includes the dependencies required by the package. The following extras are declared in this package’s pyproject.toml; install only those needed by your workflow. They are standard Python optional dependencies, not separate execution profiles.

Extra Adds / when to select it
visualization-matplotlib Matplotlib-based rendering and plots. Dependencies: matplotlib
all Bundle declared by this package; its manifest includes visualization-matplotlib.

For example:

uv pip install "sinapsis-data-visualization[visualization-matplotlib]"

The manifest also defines development-only dependency groups: dev (pre-commit, ruff, ty). These support source development and testing and are not runtime extras.

🚀 Features

For example, for BBoxDrawer use sinx templates example-config BBoxDrawer to produce the following example config:

Config
agent:
    name: my_annotation_preview_agent
    description: Draw existing image annotations for inspection
templates:
- template_name: InputTemplate
  class_name: InputTemplate
  attributes: {}
- template_name: FolderImageDatasetCV2
  class_name: FolderImageDatasetCV2
  template_input: InputTemplate
  attributes:
    data_dir: '/path/to/sinapsis/cache/dir'
    pattern: '**/*'
    batch_size: 1
    shuffle_data: false
    samples_to_load: -1
    load_on_init: false
    label_path_index: -2
    is_ground_truth: false
- template_name: BBoxDrawer
  class_name: BBoxDrawer
  template_input: FolderImageDatasetCV2
  attributes:
    overwrite: false
    randomized_color: true
    draw_confidence: true
    draw_extra_labels: true
    text_style:
      font: 0
      font_scale: 0.5
      thickness: 2
    draw_classification_label: false
    classification_label_position: top_right
    text_box_to_border_offset: 0.01

Template discovery and examples

The package exposes Template implementations including BBoxDrawer, OrientedBBoxDrawer, KeyPointsDrawer, SegmentationMaskDrawer, TabularDataVisualization, DataDistributionVisualization.

Inspect the installed environment for the exact classes and validated attributes, then generate a starter configuration:

sinx templates show-all
sinx templates example-config TabularDataVisualization

Visualisation operates on existing annotations or tabular data in the input packets. The illustrated BBoxDrawer assumes image annotations are already present; a folder reader alone will not generate bounding boxes.

Documentation

License

Sinapsis open-source components are available under your choice of the MIT License or the Apache License 2.0, unless otherwise noted.

Metadata

Release files for sinapsis-data-visualization 1.0.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 sinapsis-data-visualization 1.0.0
File Size Uploaded Provenance Actions
sinapsis_data_visualization-1.0.0.tar.gz 79.2 kB Without provenance Details for sinapsis_data_visualization-1.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sinapsis-data-visualization 1.0.0
File Interpreter ABI Platform Actions
sinapsis_data_visualization-1.0.0-py3-none-any.whl Python 3 none any Details for sinapsis_data_visualization-1.0.0-py3-none-any.whl

Total release size: 87.4 kB

Release files / sinapsis_data_visualization-1.0.0.tar.gz

Download URL sinapsis_data_visualization-1.0.0.tar.gz
Size 79.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bd0a92b10142547dcc1b2b71f690fe8e99e675a084691d8d2373cdf125ed385c
BLAKE2b-256 checksum
How to use checksums
1f25bc9d78be5f2ddb5ff97c31a5a8ccc64ea0518b7a50c1a626b3165b8d5b20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.17

Release files / sinapsis_data_visualization-1.0.0-py3-none-any.whl

Download URL sinapsis_data_visualization-1.0.0-py3-none-any.whl
Size 8.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b2a13a0fcf574a98dda119929fa0284751f087d05eb1787e910a30cbf3b38035
BLAKE2b-256 checksum
How to use checksums
e798aa21947162e380d08ccfbd7dca18b6004220b9305b2676a7c6f233476a6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.17

Security for sinapsis-data-visualization 1.0.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