Server-Sent Events broadcaster transport for Swarmauri agents.
Project description
Swarmauri Transport – Server-Sent Events
swarmauri-transport-sseoutbound hosts a lightweight SSE endpoint for broadcasting real-time updates to browsers or other streaming clients.
Installation
Using uv
uv pip install swarmauri-transport-sseoutbound --index-url https://pypi.org/simple
Using pip
pip install swarmauri-transport-sseoutbound
Usage
import asyncio
from swarmauri_transport_sseoutbound import SSEOutboundTransport
async def main() -> None:
transport = SSEOutboundTransport()
async with transport.server(host="0.0.0.0", port=8082):
await transport.broadcast(b"hello, world!")
asyncio.run(main())
Attach your own event loop or scheduler to push updates whenever your agents produce new data.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swarmauri_transport_sseoutbound-0.1.1.dev18.tar.gz.
File metadata
- Download URL: swarmauri_transport_sseoutbound-0.1.1.dev18.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5580532a6dc10acf433bc76d0f11caa2d89577957ecf293b94a9e4b2d6843f50
|
|
| MD5 |
7650db66b4b1d9642041991b2408ff6e
|
|
| BLAKE2b-256 |
223d016714f9b8e02d24f3313caff61a24b3bf77bf6eafb36683b0096e769f76
|
File details
Details for the file swarmauri_transport_sseoutbound-0.1.1.dev18-py3-none-any.whl.
File metadata
- Download URL: swarmauri_transport_sseoutbound-0.1.1.dev18-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8446574bd0c1297c646b1a9f2e43814d317b63570be9f70288c1996520ee5ca0
|
|
| MD5 |
612aeb43abd83c786432f1226e79f103
|
|
| BLAKE2b-256 |
873b8e5f6a97885ddaa22a898f944434c1c0751a22fced1de124381ebc5d22fe
|