Skip to main content

aioquic

License Version Python versions Tests Coverage Documentation

What is aioquic?

aioquic is a library for the QUIC network protocol in Python. It features a minimal TLS 1.3 implementation, a QUIC stack and an HTTP/3 stack, for both clients and servers.

aioquic is used by Python opensource projects such as dnspython, hypercorn, mitmproxy and the Web Platform Tests cross-browser test suite. It has also been used extensively in research papers about QUIC.

To learn more about aioquic please read the documentation.

Why should I use aioquic?

aioquic has been designed to be embedded into Python client and server libraries wishing to support QUIC and / or HTTP/3. The goal is to provide a common codebase for Python libraries in the hope of avoiding duplicated effort.

Both the QUIC and the HTTP/3 APIs follow the “bring your own I/O” pattern, leaving actual I/O operations to the API user. This approach has a number of advantages including making the code testable and allowing integration with different concurrency models. For applications which use asyncio, a convenience API built on top of it is also provided.

A lot of effort has gone into writing an extensive test suite for the aioquic code to ensure best-in-class code quality, and it is regularly tested for interoperability against other QUIC implementations.

aioquic treats its peer as untrusted. Malformed input closes the connection with an error code or drops the packet. The memory and CPU spent on the peer’s data are bounded, from TLS handshake messages to stream reassembly and HTTP/3 field sections. Vulnerabilities are reported privately as described in the security policy, and their fixes are announced in security advisories.

Features

  • minimal TLS 1.3 implementation conforming with RFC 9846
    • post-quantum key exchange with X25519MLKEM768

    • session resumption and 0-RTT data

  • QUIC stack conforming with RFC 9000 (QUIC v1) and RFC 9369 (QUIC v2)
    • TLS integration conforming with RFC 9001

    • loss detection and congestion control conforming with RFC 9002

    • Reno and CUBIC (RFC 9438) congestion control

    • IPv4 and IPv6 support

    • connection migration, NAT rebinding and server preferred addresses

    • datagram frames conforming with RFC 9221

    • logging TLS traffic secrets

    • logging QUIC events in QLOG format

    • version negotiation conforming with RFC 9368

    • reliable stream resets (experimental)

  • HTTP/3 stack conforming with RFC 9114 and RFC 9204 (QPACK)
    • datagram support conforming with RFC 9297

    • WebSocket bootstrapping conforming with RFC 9220

    • WebTransport (experimental)

Installing

The easiest way to install aioquic is to run:

pip install aioquic

Building from source

If there are no wheels for your system or if you wish to build aioquic from source you will need a C compiler and the Python development headers.

On Debian/Ubuntu run:

sudo apt install python3-dev

Running the examples

aioquic comes with example clients and servers for HTTP/3 and QUIC, which illustrate how to use the library.

You can browse these examples here: https://github.com/aiortc/aioquic/tree/main/examples

License

aioquic is released under the BSD license.

Metadata

Release files for aioquic 1.9.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aioquic 1.9.2
File Size Uploaded Provenance Actions
aioquic-1.9.2.tar.gz 292.9 kB With provenance Details for aioquic-1.9.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for aioquic 1.9.2
File Actions
aioquic-1.9.2-cp310-abi3-win_arm64.whl CPython 3.10 abi3 Windows ARM64 Details for aioquic-1.9.2-cp310-abi3-win_arm64.whl
aioquic-1.9.2-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details for aioquic-1.9.2-cp310-abi3-win_amd64.whl
aioquic-1.9.2-cp310-abi3-win32.whl CPython 3.10 abi3 Windows x86-32 Details for aioquic-1.9.2-cp310-abi3-win32.whl
aioquic-1.9.2-cp310-abi3-musllinux_1_2_x86_64.whl CPython 3.10 abi3 Linux musl 1.2+ x86-64 Details for aioquic-1.9.2-cp310-abi3-musllinux_1_2_x86_64.whl
aioquic-1.9.2-cp310-abi3-musllinux_1_2_i686.whl CPython 3.10 abi3 Linux musl 1.2+ x86-32 Details for aioquic-1.9.2-cp310-abi3-musllinux_1_2_i686.whl
aioquic-1.9.2-cp310-abi3-musllinux_1_2_aarch64.whl CPython 3.10 abi3 Linux musl 1.2+ ARM64 Details for aioquic-1.9.2-cp310-abi3-musllinux_1_2_aarch64.whl
aioquic-1.9.2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.17+ x86-64, Linux glibc 2.28+ x86-64 Details for aioquic-1.9.2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
aioquic-1.9.2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl CPython 3.10 abi3 Linux glibc 2.28+ ARM64, Linux glibc 2.17+ ARM64 Details for aioquic-1.9.2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
aioquic-1.9.2-cp310-abi3-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl CPython 3.10 abi3 Linux glibc 2.5+ x86-32, Linux glibc 2.28+ x86-32 Details for aioquic-1.9.2-cp310-abi3-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl
aioquic-1.9.2-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details for aioquic-1.9.2-cp310-abi3-macosx_11_0_arm64.whl
aioquic-1.9.2-cp310-abi3-macosx_10_9_x86_64.whl CPython 3.10 abi3 macOS 10.9+ x86-64 Details for aioquic-1.9.2-cp310-abi3-macosx_10_9_x86_64.whl

Total release size: 1.8 MB

Release files / aioquic-1.9.2.tar.gz

Download URL aioquic-1.9.2.tar.gz
Size 292.9 kB
Tags Source
SHA-256 checksum
How to use checksums
badbe512bc69f45e52414159a050140eab0f7ba3f91aab228e55dfa42f409504
BLAKE2b-256 checksum
How to use checksums
f78b8527007b92a7dd5490fe707906328321788900034599831c2a58e10899b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / aioquic-1.9.2-cp310-abi3-win_arm64.whl

Download URL aioquic-1.9.2-cp310-abi3-win_arm64.whl
Size 137.9 kB
Tags CPython 3.10 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
2036fe7e989df4da4ee132877072090436b405f933389b635ea22170cdf2bdf9
BLAKE2b-256 checksum
How to use checksums
3cafd9436d3083b64eb1a0bae0589490add0d7d51d9b965576eb13c6572b1aa3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / aioquic-1.9.2-cp310-abi3-win_amd64.whl

Download URL aioquic-1.9.2-cp310-abi3-win_amd64.whl
Size 138.0 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
acfb3141e1747f6f1ce6e9213a8c53cf318ef8b2068411aa60480bcf6f7ea9a9
BLAKE2b-256 checksum
How to use checksums
524ec876e80038d49a4a5c39aa465959ebefcaed045b3a9839d92f0debbb0508
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / aioquic-1.9.2-cp310-abi3-win32.whl

Download URL aioquic-1.9.2-cp310-abi3-win32.whl
Size 137.4 kB
Tags CPython 3.10 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
068b01eb65905ccacf337b99488752de9793143c0f08588aa5e6aef39dcb1b1b
BLAKE2b-256 checksum
How to use checksums
d10d208799ad72df825347122b35bf65ab6c5f38e43ff77364413b950eef71d9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / aioquic-1.9.2-cp310-abi3-musllinux_1_2_x86_64.whl

Download URL aioquic-1.9.2-cp310-abi3-musllinux_1_2_x86_64.whl
Size 143.9 kB
Tags CPython 3.10 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
5b807a47a97d464df00896c889df3d5f07d8359c06d42ce8b5e3d0044897bcb0
BLAKE2b-256 checksum
How to use checksums
57a8f9b7afb16710dfb946d64b57918865de51dd9bbbcf6033003027366f118c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / aioquic-1.9.2-cp310-abi3-musllinux_1_2_i686.whl

Download URL aioquic-1.9.2-cp310-abi3-musllinux_1_2_i686.whl
Size 143.2 kB
Tags CPython 3.10 Linux musl 1.2+ x86-32 abi3
SHA-256 checksum
How to use checksums
599cf3c4fcde8b5c78129f3712ce5659e5e7a49b48e270e5097aa43fb5fa570c
BLAKE2b-256 checksum
How to use checksums
a3eebcac04e871311d28d566151c1672b473612013209d3cdd2c97b576d1460f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / aioquic-1.9.2-cp310-abi3-musllinux_1_2_aarch64.whl

Download URL aioquic-1.9.2-cp310-abi3-musllinux_1_2_aarch64.whl
Size 144.7 kB
Tags CPython 3.10 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
fe18cda1b3af5ab7e892f144aee33838d3a347ffd445f71338c291394310749a
BLAKE2b-256 checksum
How to use checksums
76bf408a4e2c4ccb4932505f6ac950b39cfc799132d5dc58387d3cd458b5c0b4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / aioquic-1.9.2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL aioquic-1.9.2-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 143.6 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
97569cd13011d7b0046bbc8baa20732fd5b6f6f2c5dbc8d622e9431661a44b40
BLAKE2b-256 checksum
How to use checksums
b4a78897bab1ac3c180187b34c7ff5cd350c027fe38a3b9fbccc21b6a9cbc433
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / aioquic-1.9.2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL aioquic-1.9.2-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 145.0 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
a0d333505cdaf1b8a2edc9b82ea4476e3182ee34ae87ee68d250e8d8d718b308
BLAKE2b-256 checksum
How to use checksums
ea76b43b65546df4cd704761f3e1fd31773ff09dd78389706652f84112fe8f12
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / aioquic-1.9.2-cp310-abi3-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl

Download URL aioquic-1.9.2-cp310-abi3-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl
Size 142.6 kB
Tags CPython 3.10 Linux glibc 2.28+ x86-32 Linux glibc 2.5+ x86-32 abi3
SHA-256 checksum
How to use checksums
55241ece2e040015c36ecb78b018f14f3719fcfa81179e394609581b765e1ade
BLAKE2b-256 checksum
How to use checksums
c870667ca883e9d771d25e60e29cc325776358666c49c6c08ad7e043f03da3ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / aioquic-1.9.2-cp310-abi3-macosx_11_0_arm64.whl

Download URL aioquic-1.9.2-cp310-abi3-macosx_11_0_arm64.whl
Size 135.6 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ac319ea6d84a023dfe565b4119fa6eb47129693fb67e19dc5b441152db026605
BLAKE2b-256 checksum
How to use checksums
8c3469e64d28dbce6b1c92457bb0fea6f77d1dd7fd083b17c226a35a794e3518
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / aioquic-1.9.2-cp310-abi3-macosx_10_9_x86_64.whl

Download URL aioquic-1.9.2-cp310-abi3-macosx_10_9_x86_64.whl
Size 135.1 kB
Tags CPython 3.10 abi3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
33a0392eb4346e84fd2144edacc25d8e9567dd5ebba9b82a3458df203efdc042
BLAKE2b-256 checksum
How to use checksums
47311f0ce819cb721b0f1716fcea3b6d81be0da2c41ea5575d67e4fa19c5aeda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Security for aioquic 1.9.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 12 files in this release have been uploaded with provenance metadata.

Select from 12 files

Attestation for aioquic-1.9.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.9.2 This release

12 release files Full provenance

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