This release is a pre-release and may not be stable for production use.
Swarmauri Transport ? HTTP/2 Adapter
swarmauri-transport-h2 layers HTTP semantics on top of the reusable H2MuxTransport, giving you request/response helpers while preserving multiplexed channel control.
Installation
Using uv
uv pip install swarmauri-transport-h2 --index-url https://pypi.org/simple
Using pip
pip install swarmauri-transport-h2
Usage
import asyncio
from swarmauri_transport_h2 import H2Transport
async def run_request() -> None:
transport = H2Transport()
async with transport.client(host="example.com", port=443):
status, headers, body = await transport.request("GET", "/")
print(status, headers, body)
asyncio.run(run_request())
The adapter lets you reuse a single HTTP/2 connection for multiple requests, plug in custom channel management, or proxy calls to Swarmauri agents.
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_h2-0.11.0.dev1.tar.gz.
File metadata
- Download URL: swarmauri_transport_h2-0.11.0.dev1.tar.gz
- Upload date:
- Size: 4.1 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cd73a219c599177a4b824f9e98b0ad514b3b489a6cbcf56efa9719ffb5e24ab
|
|
| MD5 |
983c40112ebae38f3dcfa74769ad80da
|
|
| BLAKE2b-256 |
039042bb6e7bcf19ffa59f91ab86c995f2e548c2ee29ca34db8e3195fede7bc4
|
File details
Details for the file swarmauri_transport_h2-0.11.0.dev1-py3-none-any.whl.
File metadata
- Download URL: swarmauri_transport_h2-0.11.0.dev1-py3-none-any.whl
- Upload date:
- Size: 5.0 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88855c0232eaa7ca00b55966917d7e31cdea37b2e3292ce25cb2e3d7ec6fc612
|
|
| MD5 |
9bce56fcf0887c3f90d2057fc00719f4
|
|
| BLAKE2b-256 |
324ba82994de243d78a4c2ed47165b1d1f4ae56a0183eb3655310f999dbc238e
|