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

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.1
File Size Uploaded Provenance Actions
sinapsis_data_visualization-1.0.1.tar.gz 79.2 kB Without provenance Details for sinapsis_data_visualization-1.0.1.tar.gz

Built distribution (wheel)

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

Total release size: 117.7 kB

Release files / sinapsis_data_visualization-1.0.1.tar.gz

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

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

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

Security for sinapsis-data-visualization 1.0.1

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