Skip to main content

HTTP/2 transport adapter built on the Swarmauri H2 mux.

Project description

Swarmauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri-transport-h2


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


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_h2-0.1.1.dev20.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swarmauri_transport_h2-0.1.1.dev20-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_transport_h2-0.1.1.dev20.tar.gz.

File metadata

  • Download URL: swarmauri_transport_h2-0.1.1.dev20.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

Hashes for swarmauri_transport_h2-0.1.1.dev20.tar.gz
Algorithm Hash digest
SHA256 c8482bf16630ba59437151212a578044ce506eec4898c67cabf21ba9c40226e4
MD5 78ade6d9fc44214b5e7ad6a35fa228f8
BLAKE2b-256 c6048f45627ed93324e4197d23f320cd541fd0548e184782ce2f5b021454f2e2

See more details on using hashes here.

File details

Details for the file swarmauri_transport_h2-0.1.1.dev20-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_transport_h2-0.1.1.dev20-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

Hashes for swarmauri_transport_h2-0.1.1.dev20-py3-none-any.whl
Algorithm Hash digest
SHA256 1e8964e357ae198f25e9972cbbc1ebc6a29d44e8f9d2fadcd0cae07ac77318ef
MD5 309e34baa5553bacb9f73fee9387a9fc
BLAKE2b-256 8d800a86b82067e9dcaeca827bb297a4ee54633ea779c035510dd6558cdd97be

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