Pre-release
This release is a pre-release and may not be stable for production use.
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.
Metadata
Release files for swarmauri_transport_h2mux 0.11.0.dev1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| swarmauri_transport_h2mux-0.11.0.dev1.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swarmauri_transport_h2mux-0.11.0.dev1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.2 kB
Release files / swarmauri_transport_h2mux-0.11.0.dev1.tar.gz
| Download URL | swarmauri_transport_h2mux-0.11.0.dev1.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2485070bf9b9c4ca34a5a5cf16e039d9ab7a8fa5b97509ff131d11bdd415dbf6
|
|
BLAKE2b-256 checksum How to use checksums |
fc6c2b79f3f94af3361820bb8691d4a7299576efb15641f22f7ac737e1efe58f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|
Release files / swarmauri_transport_h2mux-0.11.0.dev1-py3-none-any.whl
| Download URL | swarmauri_transport_h2mux-0.11.0.dev1-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e2910805d66060e5a5f3dc6d5a81f50bc8257bd90135a9d249d38ce80c551a72
|
|
BLAKE2b-256 checksum How to use checksums |
afcf42102efb0e2672033869902bf7fe6cc0438d8aaa56e1adc8cfa583ca4fc5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|