Skip to main content

Haybale Stream

A haywire library that sends and receives video frames between applications over Syphon (macOS), Spout (Windows), NDI and OMT (Open Media Transport, cross-platform).

Ideas and backend code come from TextureSharing (Spout for Blender).

Backend Linux macOS Windows
NDI yes yes yes
OMT yes yes yes
Syphon yes
Spout yes

Frames travel as IMAGE values from haybale-image. See docs/design.md.

Nodes

Node What it does
Send Frame Publishes an IMAGE under a name on NDI, OMT, Syphon or Spout.
Receive Frame Fetches the newest frame from a named source as IMAGE_RGBA; exits through Frame or No frame.
Receive Frame Emit Receives on its own thread and emits a callback per frame to connected Image Event nodes (from haybale-image) (like the visiongraph camera nodes).

Status: NDI and OMT are tested on Linux. Syphon and Spout are implemented but not yet run on macOS / Windows.

Subscribe

Getting started

uv sync
uv run haywire
uv run pytest

Develop from ../haywire-repo (this package is symlinked into its barn/); see CLAUDE.md.

Share the library

Run from this repo's root (not from ../haywire-repo):

uv run --frozen haywire share --dry-run                  # first: report only, writes nothing
uv run --frozen haywire share --bump patch|minor|major   # or an explicit X.Y.Z

This bumps every barn/* library in lockstep, regenerates docs and marketstall.toml, then commits, tags v<version> and pushes to origin itself. It needs a clean working tree and the default branch checked out (--frozen keeps uv.lock from being re-locked; git checkout uv.lock first if it is dirty). The project uses distribute = "pypi", so uploading the package to PyPI is a separate step (see publish-to-pypi.md in the haywire docs).

Credits

Syphon: Tom Butterworth and Anton Marini. Spout: Lynn Jarvis. SpoutGL: Jason Lai. syphon-python: Florian Bruggisser. cyndilib: Matthew Reid. OMT: the Open Media Transport project (cyomtlib wrapper). NDI® is a registered trademark of Vizrt NDI AB; NDI runtime © Vizrt NDI AB, bundled in the cyndilib wheel under the NDI SDK license (http://ndi.link/ndisdk_license).

Martin Froehlich. Implementation for haywire

Metadata

Release files for haybale-stream 0.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 haybale-stream 0.0.1
File Size Uploaded Provenance Actions
haybale_stream-0.0.1.tar.gz 14.1 kB With provenance Details for haybale_stream-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for haybale-stream 0.0.1
File Interpreter ABI Platform Actions
haybale_stream-0.0.1-py3-none-any.whl Python 3 none any Details for haybale_stream-0.0.1-py3-none-any.whl

Total release size: 36.3 kB

Release files / haybale_stream-0.0.1.tar.gz

Download URL haybale_stream-0.0.1.tar.gz
Size 14.1 kB
Tags Source
SHA-256 checksum
How to use checksums
35c961668bf9d2beadd471718a4a584aa5ee00766eb051a3babdad1bcdf754cd
BLAKE2b-256 checksum
How to use checksums
bc2d535b33168329c01c7ab63d6683440f021c3d3a0e4636ada53ae9b4b42e03
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / haybale_stream-0.0.1-py3-none-any.whl

Download URL haybale_stream-0.0.1-py3-none-any.whl
Size 22.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fe957d2c5b91aeb31a766f6940d1c7e593d8bf633c35ad928328e2fe20412e37
BLAKE2b-256 checksum
How to use checksums
0221603b507c64609a6a17e92b4ff9b3ddd90bf6b2536ec1c1fe7b3ce949f9ea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Security for haybale-stream 0.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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for haybale_stream-0.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

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