Skip to main content

Core HTTP/2 multiplexer transport for Swarmauri agents.

Project description

Swarmauri Logo

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


Swarmauri Transport – H2 Multiplexer

swarmauri-transport-h2mux exposes raw HTTP/2 stream management to Swarmauri transports. It handles connection setup, stream lifecycle, and data flow so higher-level protocols can be layered on top.

Installation

Using uv

uv pip install swarmauri-transport-h2mux --index-url https://pypi.org/simple

Using pip

pip install swarmauri-transport-h2mux

Usage

import asyncio
from swarmauri_transport_h2mux import H2MuxTransport

async def main() -> None:
    mux = H2MuxTransport()
    async with mux.client(host="example.com", port=443):
        channel = await mux.open_channel()
        await mux.send_on(channel, b"ping")
        payload = await mux.recv_on(channel)
        print(payload)

asyncio.run(main())

Use the multiplexer when you need direct stream control—for example to build custom RPC layers or bridge Swarmauri agents over HTTP/2 without binding to REST semantics.

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

swarmauri_transport_h2mux-0.1.1.dev23.tar.gz (4.5 kB view details)

Uploaded Source

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_h2mux-0.1.1.dev23.tar.gz.

File metadata

  • Download URL: swarmauri_transport_h2mux-0.1.1.dev23.tar.gz
  • Upload date:
  • Size: 4.5 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_h2mux-0.1.1.dev23.tar.gz
Algorithm Hash digest
SHA256 72549c5b287e23e088cb094100207133f52d56504261cd06487da49caf6aacd1
MD5 ea3c65952b042c1f4e64a7c68db355f4
BLAKE2b-256 3806b2d65d6e13b37a3676c8d6203c2ffeca2f62d42bc48276df684d1728f6dd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swarmauri_transport_h2mux-0.1.1.dev23-py3-none-any.whl
  • Upload date:
  • Size: 5.4 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_h2mux-0.1.1.dev23-py3-none-any.whl
Algorithm Hash digest
SHA256 a2a66fcd9b53cbafd2e3c7575f9315e17b757e183244b536bda39e2c91b4f982
MD5 6035f555dff9e9a1eaf31fd42a189b73
BLAKE2b-256 b1c4a2b39bd35a1788457dbb6c0978d026b2f0ea88acd8c6a57a219654229a8a

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