HTTP/2 transport adapter built on the Swarmauri H2 mux.
Project description
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.
Project details
Release history Release notifications | RSS feed
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.1.1.dev23.tar.gz.
File metadata
- Download URL: swarmauri_transport_h2-0.1.1.dev23.tar.gz
- Upload date:
- Size: 3.9 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b1c163ccecd326762f8881e0fc0fec34ce7eee45c4cdccd0ea14712e66854d0
|
|
| MD5 |
b3805ae288fffb1fa4c67033b533f087
|
|
| BLAKE2b-256 |
65c6fdc40b292607fb1bf2f9a60eaa57d003c0ed0b37d04b2012e627e8e85d25
|
File details
Details for the file swarmauri_transport_h2-0.1.1.dev23-py3-none-any.whl.
File metadata
- Download URL: swarmauri_transport_h2-0.1.1.dev23-py3-none-any.whl
- Upload date:
- Size: 4.9 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb283fa177ab8ecc1ccdbce59af1006919b901ca2878e0126dbe8264bae406f9
|
|
| MD5 |
568378dd3741a767b5f9f8857ad24572
|
|
| BLAKE2b-256 |
f96134460f2bd5cc0226ec31660192de21cdc62700195368a5144da7c534fca6
|