Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Swarmauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri_transport_quic Discord

Swarmauri QUIC Transport

Transport Icon Multiplex Lifecycle

The Swarmauri QUIC Transport outlines a multiplexed, encrypted transport based on QUIC. It shares the unified lifecycle helpers so that future implementations can expose .server(...), .client(...), and channel-aware APIs directly on the transport instance.

Note: This package currently ships a skeleton with NotImplementedError placeholders so downstream teams can integrate their preferred QUIC stack.

Installation

Using uv

uv add --directory pkgs/standards/swarmauri_transport_quic swarmauri_transport_quic

Using pip

pip install swarmauri_transport_quic

Usage

The example below demonstrates the lifecycle of a QUIC transport once the implementation details are filled in.

import asyncio
from swarmauri_transport_quic import QuicTransport

async def main():
    server = QuicTransport(cert="srv.pem", key="srv.key")
    client = QuicTransport(server_name="localhost")

    async def run_server():
        async with server.server(host="0.0.0.0", port=4433):
            channel = await server.open_channel()
            await server.send_on(channel, b"welcome")
            data = await server.recv_on(channel)
            await server.send_on(channel, b"ack:" + data)
            await server.close_channel(channel)

    async def run_client():
        async with client.client(host="127.0.0.1", port=4433):
            channel = await client.open_channel()
            await client.send_on(channel, b"hi-quic")
            response = await client.recv_on(channel)
            print(response.decode())
            await client.close_channel(channel)

    await asyncio.gather(run_server(), run_client())

asyncio.run(main())

Replace the placeholders with concrete QUIC operations once your chosen library is integrated.

Metadata

Release files for swarmauri_transport_quic 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)

Source distribution for swarmauri_transport_quic 0.11.0.dev1
File Size Uploaded
swarmauri_transport_quic-0.11.0.dev1.tar.gz 4.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for swarmauri_transport_quic 0.11.0.dev1
File Interpreter ABI Platform
swarmauri_transport_quic-0.11.0.dev1-py3-none-any.whl Python 3 none any Details

Total release size: 9.7 kB

Release files / swarmauri_transport_quic-0.11.0.dev1.tar.gz

Download URL swarmauri_transport_quic-0.11.0.dev1.tar.gz
Size 4.6 kB
Tags Source
SHA-256 checksum
How to use checksums
bee149f567961a2adb7e980950eec6695eb049bf398ff9a9c49e39ca3f45246d
BLAKE2b-256 checksum
How to use checksums
7fef7c25eb84aeabe2c03a77cfcdc1f9b7bb7c176f81685d42d22e8ee8251c3e
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_quic-0.11.0.dev1-py3-none-any.whl

Download URL swarmauri_transport_quic-0.11.0.dev1-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
44f43d98a4a97fee6c0cf8a722ac92213183eb01a92c678f90460585770f5956
BLAKE2b-256 checksum
How to use checksums
b4519bbfd8a40a53b8ce9579963b86ccfcd692aab05b09c8a8a986ed1855ec5b
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 history Release notifications | RSS feed

This release

0.11.0.dev1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page