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.

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.

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.

Features

  • minimal TLS 1.3 implementation conforming with RFC 9846

  • QUIC stack conforming with RFC 9000 (QUIC v1) and RFC 9369 (QUIC v2)
    • IPv4 and IPv6 support

    • connection migration and NAT rebinding

    • logging TLS traffic secrets

    • logging QUIC events in QLOG format

    • version negotiation conforming with RFC 9368

  • HTTP/3 stack conforming with RFC 9114
    • WebSocket bootstrapping conforming with RFC 9220

    • datagram support conforming with RFC 9297

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 a number of examples illustrating various QUIC usecases.

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.0

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.0
File Size Uploaded Provenance Actions
aioquic-1.9.0.tar.gz 292.0 kB Without provenance Details for aioquic-1.9.0.tar.gz

Built distributions (wheels)

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

Total release size: 1.8 MB

Release files / aioquic-1.9.0.tar.gz

Download URL aioquic-1.9.0.tar.gz
Size 292.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ddaa92a98378b2a3909ffc61cd62c39dec690e7f799345fe00616cc0e36e5f7f
BLAKE2b-256 checksum
How to use checksums
9f78164a086fb5db9f9150868ece7956aa18594882d4ab861010b815fab32c30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / aioquic-1.9.0-cp311-abi3-win_arm64.whl

Download URL aioquic-1.9.0-cp311-abi3-win_arm64.whl
Size 137.3 kB
Tags CPython 3.11 Windows ARM64 abi3
SHA-256 checksum
How to use checksums
9452bf8b7306b42494236e0426af92d8b93dad015418bb42b1f9d8ad43407aab
BLAKE2b-256 checksum
How to use checksums
bde8c05ebe0b88e635fe8b5c823e3f4b303f532f0a55e27804c95653de54d736
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / aioquic-1.9.0-cp311-abi3-win_amd64.whl

Download URL aioquic-1.9.0-cp311-abi3-win_amd64.whl
Size 137.4 kB
Tags CPython 3.11 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
68ebf61a9434aa248413a49abb30a5e47753e8f6fed5271305f34406c6479c5b
BLAKE2b-256 checksum
How to use checksums
f808011ee1aa116c51d455bb09252cd690a1a260ecc9e5f357f51435f6924575
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / aioquic-1.9.0-cp311-abi3-win32.whl

Download URL aioquic-1.9.0-cp311-abi3-win32.whl
Size 136.9 kB
Tags CPython 3.11 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
7980fbb30a776a2a44616b2a52f6d981514eba7abd6000dda3e669d4447fa757
BLAKE2b-256 checksum
How to use checksums
7e5567bb6b485ff98c347919ac4b6e101b1d7f524c132a5003b3f8929e694bdf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / aioquic-1.9.0-cp311-abi3-musllinux_1_2_x86_64.whl

Download URL aioquic-1.9.0-cp311-abi3-musllinux_1_2_x86_64.whl
Size 143.5 kB
Tags CPython 3.11 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
652fda1cbdfcd2b0f837228a8d06aaaf4c9618d77bc7e7fea2c155756a0d8dbf
BLAKE2b-256 checksum
How to use checksums
f48efdaf72bdf10c41d565e38351f676c6c235426f35d2422792ef264591c346
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / aioquic-1.9.0-cp311-abi3-musllinux_1_2_i686.whl

Download URL aioquic-1.9.0-cp311-abi3-musllinux_1_2_i686.whl
Size 142.8 kB
Tags CPython 3.11 Linux musl 1.2+ x86-32 abi3
SHA-256 checksum
How to use checksums
47ea7a0f7affd5e190a33f3e4ae225c63ebfe9ebcb23c87af28470eb26af3fb5
BLAKE2b-256 checksum
How to use checksums
1b23e3af5f84881ee8688b65acb1df2815e3e322d000ac22251edd88833a6ed8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / aioquic-1.9.0-cp311-abi3-musllinux_1_2_aarch64.whl

Download URL aioquic-1.9.0-cp311-abi3-musllinux_1_2_aarch64.whl
Size 144.4 kB
Tags CPython 3.11 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
73a87da3571d219991a733324ddf7ebdec52cd8851b87476c47946f8432f54a7
BLAKE2b-256 checksum
How to use checksums
3bfd9d30c0343f90aa0200f43ebc1ecba08ef094375b2bacb9f40fef54161e20
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / aioquic-1.9.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl

Download URL aioquic-1.9.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Size 143.2 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
102825a2a0369e1fb8c18b8e16c6b2c56ce37c2a620924178888e997e010c855
BLAKE2b-256 checksum
How to use checksums
1a08c963971fa27f95c124711bfc7c7debd4401d1adfd093a299474190cae76c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / aioquic-1.9.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl

Download URL aioquic-1.9.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl
Size 144.7 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
5891cb63f4118466c5c9f729a320fc6352914ed0f6b4748aac73747733f0ea90
BLAKE2b-256 checksum
How to use checksums
1fb1a9e30748c4b1c72730411696a2bdc77e2e1f5186161ec38a21742cf6799b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / aioquic-1.9.0-cp311-abi3-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl

Download URL aioquic-1.9.0-cp311-abi3-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl
Size 142.2 kB
Tags CPython 3.11 Linux glibc 2.28+ x86-32 Linux glibc 2.5+ x86-32 abi3
SHA-256 checksum
How to use checksums
ecddf0f365cbe84038f0968b810f2c387f68c2ee263818209c5e57abe924cfc6
BLAKE2b-256 checksum
How to use checksums
ddf4a1976b664c81c0b86a28d9f671a4f9a512a2f83f26350ca141f486300d68
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / aioquic-1.9.0-cp311-abi3-macosx_11_0_arm64.whl

Download URL aioquic-1.9.0-cp311-abi3-macosx_11_0_arm64.whl
Size 135.1 kB
Tags CPython 3.11 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
84672ee531ff4f1b8b14109260a084b71cb0c686c26cdff41ba545e5b90ff3d3
BLAKE2b-256 checksum
How to use checksums
da29fa497d57c2b4a2d41a48b86aeaec7417a77add5bb438ae783fd281bed6e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / aioquic-1.9.0-cp311-abi3-macosx_10_9_x86_64.whl

Download URL aioquic-1.9.0-cp311-abi3-macosx_10_9_x86_64.whl
Size 134.6 kB
Tags CPython 3.11 abi3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
a767707d2f7b3ff37cdd8d540f67339203a82687cc65165345bc830885a5c287
BLAKE2b-256 checksum
How to use checksums
1a8849751317b9ba7cfbd3687cfe83a872ad7baf51de36614938228c4710fa3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for aioquic 1.9.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.0 This release

12 release files No 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