Pre-release
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.
Metadata
Release files for swarmauri_transport_h2 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_h2-0.11.0.dev1.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| swarmauri_transport_h2-0.11.0.dev1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.1 kB
Release files / swarmauri_transport_h2-0.11.0.dev1.tar.gz
| Download URL | swarmauri_transport_h2-0.11.0.dev1.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7cd73a219c599177a4b824f9e98b0ad514b3b489a6cbcf56efa9719ffb5e24ab
|
|
BLAKE2b-256 checksum How to use checksums |
039042bb6e7bcf19ffa59f91ab86c995f2e548c2ee29ca34db8e3195fede7bc4
|
| 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_h2-0.11.0.dev1-py3-none-any.whl
| Download URL | swarmauri_transport_h2-0.11.0.dev1-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
88855c0232eaa7ca00b55966917d7e31cdea37b2e3292ce25cb2e3d7ec6fc612
|
|
BLAKE2b-256 checksum How to use checksums |
324ba82994de243d78a4c2ed47165b1d1f4ae56a0183eb3655310f999dbc238e
|
| 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}
|