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.dev21.tar.gz (4.0 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.dev21-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: swarmauri_transport_h2-0.1.1.dev21.tar.gz
  • Upload date:
  • Size: 4.0 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.dev21.tar.gz
Algorithm Hash digest
SHA256 ef4149874152893ad94bafdfa94496fb65a5a67100f248e3a085cd0d78deed3e
MD5 a4fbfa6a7843ea0ee791b47ecdb8f9b7
BLAKE2b-256 a654dcbe1f35c755ce480bb4dbcac7583de920f63cd81ba4f0e546ec1b062fa7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: swarmauri_transport_h2-0.1.1.dev21-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.dev21-py3-none-any.whl
Algorithm Hash digest
SHA256 121b3a1825569e03d02a3054bc103919bfe2483a43283df27128b5108bc88b8d
MD5 113fa48a339ede8b5bc54f96ff5cbf7f
BLAKE2b-256 b2e305723472b909c7c560c6aef7634ca99b597b6ac4c30946626ed32f3bfdb6

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