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.dev19.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.dev19-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: swarmauri_transport_h2-0.1.1.dev19.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.dev19.tar.gz
Algorithm Hash digest
SHA256 ba39b82783f7fb9891a2ff86c33823cf7625f7f1687050f07e64301c8f85f3c9
MD5 1b787c15181be28f0ee3c47332ac42ac
BLAKE2b-256 e4a77e83b8ca34c8b3b34b4a32c14ada229baabdea42207d9d37e6f8db67e8d3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swarmauri_transport_h2-0.1.1.dev19-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.dev19-py3-none-any.whl
Algorithm Hash digest
SHA256 5df6e53d6cb5919fc3181c854013552f85a93700d96999608b71469c8a60219f
MD5 8ded2b52825bf3ec8d22132ace807254
BLAKE2b-256 606cbb3cf6bd2c321814aadbb2c4b08a6aa0854a8e0b8afb42b3408f54b17913

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