Skip to main content

Server-Sent Events broadcaster transport for Swarmauri agents.

Project description

Swarmauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri-transport-sseoutbound


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


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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file swarmauri_transport_sseoutbound-0.1.1.dev23.tar.gz.

File metadata

  • Download URL: swarmauri_transport_sseoutbound-0.1.1.dev23.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

Hashes for swarmauri_transport_sseoutbound-0.1.1.dev23.tar.gz
Algorithm Hash digest
SHA256 09c373114544ee86ecafeedce9b8c6bf55d2fd93849f29fa13836181aae09e24
MD5 257078aa86c17318a0ebff1b763b317f
BLAKE2b-256 fc62008d05aca2bb53397d03bb35924a53b7110b95b14ed4e0b461604d7b5e01

See more details on using hashes here.

File details

Details for the file swarmauri_transport_sseoutbound-0.1.1.dev23-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_transport_sseoutbound-0.1.1.dev23-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

Hashes for swarmauri_transport_sseoutbound-0.1.1.dev23-py3-none-any.whl
Algorithm Hash digest
SHA256 a94da80b9cb429553df6207117c1a93ab1b846bd81fa7a805a80973ad224d300
MD5 b127be9f33484da74e3b61f174894d0e
BLAKE2b-256 6ecbe4ecc3c81b3d61e5957af3a15caf197fce53e299c5bf6c2213e095d355bb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page