Skip to main content

relayfabric-sdk

The Python side of RelayFabric's Plugin Protocol v1: the CBOR frame codec (relayfabric_sdk.ipc, golden-locked byte-for-byte against the Rust implementation), the run_plugin main-loop scaffold, shared Bridge plumbing (relayfabric_sdk.bridge), the sent-message loop-guard cache, and the FakeSock test harness.

A complete plugin is ~30 lines — see examples/echo_plugin.py. Prove any plugin against the daemon-side contract with:

switchyardctl plugin test "python my_plugin.py"

Types at the trust boundary: the daemon decodes an inbound frame into typed structs, and a wrong-typed field (an int sender, a str attachment data) fails that decode, drops the plugin connection and restarts the plugin — a crash loop if the triggering event is retained or stored. ipc.inbound() therefore raises ValueError on a mistyped field; treat that as "drop this message". run_plugin dedups re-dispatched sends by corr and bounds its send queue (runner.SEND_QUEUE_MAX), answering an overflow with delivery_result(corr, false, "plugin busy").

Docs: https://docs.relayfabric.org/plugin-authors/

Metadata

Release files for relayfabric-sdk 0.4.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for relayfabric-sdk 0.4.3
File Size Uploaded Provenance Actions
relayfabric_sdk-0.4.3.tar.gz 24.1 kB With provenance Details for relayfabric_sdk-0.4.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for relayfabric-sdk 0.4.3
File Interpreter ABI Platform Actions
relayfabric_sdk-0.4.3-py3-none-any.whl Python 3 none any Details for relayfabric_sdk-0.4.3-py3-none-any.whl

Total release size: 38.5 kB

Release files / relayfabric_sdk-0.4.3.tar.gz

Download URL relayfabric_sdk-0.4.3.tar.gz
Size 24.1 kB
Tags Source
SHA-256 checksum
How to use checksums
561fc6186eb14b83e5e4e34d1e9683377df1f0378a558c4bcf3b658921ecec36
BLAKE2b-256 checksum
How to use checksums
651508bf953436d5f1240665cb41f27f240fb55b1bb62e2a7aa050c5b257d5cd
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 23, 2026.

Transparency log

Release files / relayfabric_sdk-0.4.3-py3-none-any.whl

Download URL relayfabric_sdk-0.4.3-py3-none-any.whl
Size 14.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77a26bbda5580e5c5ad7e02534de22a3e34bc115aa89dc1cc120f565803478b5
BLAKE2b-256 checksum
How to use checksums
1f65fd36036d61dd30a350f0c75b802cd4ef277bedf39894a73d6eaaef6b7db2
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 23, 2026.

Transparency log

Security for relayfabric-sdk 0.4.3

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 relayfabric_sdk-0.4.3.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 23, 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