braidpipe (worker SDK)
The Python worker SDK for braidpipe, the never-dark AI video middleware. The Rust daemon owns the media path; this package is how a Python process receives its frames — as zero-copy NumPy views over shared memory locally, or over the tcp-raw transport from another machine — and hands them back.
pip install braidpipe
A complete worker:
import braidpipe
def process(frame): # (H, W, 3) uint8, RGB — mutate it in place
frame[:, :, 0] //= 2 # your inference here
if __name__ == "__main__":
braidpipe.run(process)
run() owns everything else: the handshake, the per-frame notification loop,
freeing the shared-memory slot, acking (including "success": false when your
code raises, so the stream falls back to passthrough instead of going dark),
and the transport switch — set BRAIDPIPE_DAEMON=host:port and the same worker
attaches over the network instead.
This package does not contain the daemon. Build it from the
repository, which also has the full
worker contract, examples, and deadline rules in docs/workers.md.
Metadata
Release files for braidpipe 0.5.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 |
|---|---|---|---|---|
| braidpipe-0.5.0.tar.gz | 14.0 kB | With provenance | Details for braidpipe-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| braidpipe-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for braidpipe-0.5.0-py3-none-any.whl |
Total release size: 27.9 kB
Release files / braidpipe-0.5.0.tar.gz
| Download URL | braidpipe-0.5.0.tar.gz |
|---|---|
| Size | 14.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f2c450e744802eb7fe84837bedd00a1a194f10054742ed3bbcd9400a54b78e80
|
|
BLAKE2b-256 checksum How to use checksums |
dd4e6b696f035969d7a90f0ea9f0531f5111491233bb62dcb67b490e1910cfd4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 14, 2026.
Transparency logRelease files / braidpipe-0.5.0-py3-none-any.whl
| Download URL | braidpipe-0.5.0-py3-none-any.whl |
|---|---|
| Size | 13.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d80e7ff773d8db15d47e771f29d23a6dcaef156f26dd06e448aaccea77563635
|
|
BLAKE2b-256 checksum How to use checksums |
0c627d51f213aba84c921a29325c26cb8bef5864757e5a21e758a7161e687023
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 14, 2026.
Transparency logSecurity for braidpipe 0.5.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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for braidpipe-0.5.0.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 Oct 14, 2026.
Transparency logA 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.