Sinapsis Generic-Data-Tools
Lightweight transformations and routing utilities for DataContainers.
Overview
sinapsis-generic-data-tools — Collection of generic data tools.
The small operations between model calls—chunking text, filtering packets, changing image colours, buffering, or aggregating provenance—often determine whether a workflow is usable. Generic data tools make these steps reusable without bundling a full model.
Where it fits
Install optional media libraries only for the data types you process (cv2, pillow, pydub, torch, numpy). Avoid unnecessary conversions when packets already contain a suitable native representation.
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-generic-data-tools
# or
pip install sinapsis-generic-data-tools
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 |
|---|---|
pillow |
Pillow support. Dependencies: pillow |
pydub |
Pydub support. Dependencies: pydub, audioop-lts |
all |
Bundle declared by this package; its manifest includes cv2, numpy, pillow, pydub, torch. |
cv2 |
Cv2 support. Dependencies: opencv-python-headless |
torch |
PyTorch-backed operations. Dependencies: torch |
numpy |
Numpy support. Dependencies: numpy |
For example:
uv pip install "sinapsis-generic-data-tools[pillow]"
The manifest also defines development-only dependency groups: dev (pre-commit, ruff, ty). These support source development and testing and are not runtime extras.
Template discovery and examples
The package exposes Template implementations including ContextChunker, PacketBufferQueue, TextContentFilter, MaskNonROIs, SourceHistoryAggregator, ImageColorConversionNumpy.
Inspect the installed environment for the exact classes and validated attributes, then generate a starter configuration:
sinx templates show-all
sinx templates example-config ContextChunker
These commands inspect the installed Template set; some base classes are internal and cannot be instantiated as an Agent node.
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-generic-data-tools 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sinapsis_generic_data_tools-1.0.0.tar.gz | 84.5 kB | Without provenance | Details for sinapsis_generic_data_tools-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sinapsis_generic_data_tools-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for sinapsis_generic_data_tools-1.0.0-py3-none-any.whl |
Total release size: 105.6 kB
Release files / sinapsis_generic_data_tools-1.0.0.tar.gz
| Download URL | sinapsis_generic_data_tools-1.0.0.tar.gz |
|---|---|
| Size | 84.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b81ba2bf0f13bacc7c5b6bba0426f5ee92fec01d8eebaabc3fb87f9cbdbc0248
|
|
BLAKE2b-256 checksum How to use checksums |
70a3fc9ee08a22dd755c50e2d9e4d238642d56bd8ed97319209b6b8a9292a368
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.17
|
Release files / sinapsis_generic_data_tools-1.0.0-py3-none-any.whl
| Download URL | sinapsis_generic_data_tools-1.0.0-py3-none-any.whl |
|---|---|
| Size | 21.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3060c4ce0e386c9cbdc33dd86ebdf4ae109f16f966a669d3665e0996c8b70dd
|
|
BLAKE2b-256 checksum How to use checksums |
e271c50ec7bf03e992dd6299a58656ce1d1a7fdbd0335a91bad9738aecc1ccec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.17
|
Security for sinapsis-generic-data-tools 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.