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 Discord

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.11.0.dev1.tar.gz (4.6 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.11.0.dev1.tar.gz.

File metadata

  • Download URL: swarmauri_transport_h2mux-0.11.0.dev1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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.11.0.dev1.tar.gz
Algorithm Hash digest
SHA256 2485070bf9b9c4ca34a5a5cf16e039d9ab7a8fa5b97509ff131d11bdd415dbf6
MD5 962270288a4fb6cd4e7a10f3a27650ba
BLAKE2b-256 fc6c2b79f3f94af3361820bb8691d4a7299576efb15641f22f7ac737e1efe58f

See more details on using hashes here.

File details

Details for the file swarmauri_transport_h2mux-0.11.0.dev1-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_transport_h2mux-0.11.0.dev1-py3-none-any.whl
  • Upload date:
  • Size: 5.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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.11.0.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 e2910805d66060e5a5f3dc6d5a81f50bc8257bd90135a9d249d38ce80c551a72
MD5 8ca576e660a21f1da70349d09038238e
BLAKE2b-256 afcf42102efb0e2672033869902bf7fe6cc0438d8aaa56e1adc8cfa583ca4fc5

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