An implementation of QUIC and HTTP/3
Project description
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.
QUIC was standardised in RFC 9000, but HTTP/3 standardisation is still ongoing. aioquic closely tracks the specification drafts and is regularly tested for interoperability against other QUIC implementations.
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.
Features
- QUIC stack conforming with RFC 9000
- HTTP/3 stack conforming with draft-ietf-quic-http-34
- minimal TLS 1.3 implementation
- IPv4 and IPv6 support
- connection migration and NAT rebinding
- logging TLS traffic secrets
- logging QUIC events in QLOG format
- HTTP/3 server push support
Requirements
aioquic requires Python 3.7 or better, and the OpenSSL development headers.
Linux
On Debian/Ubuntu run:
$ sudo apt install libssl-dev python3-dev
On Alpine Linux you will also need the following:
$ sudo apt install bsd-compat-headers libffi-dev
OS X
On OS X run:
$ brew install openssl
You will need to set some environment variables to link against OpenSSL:
$ export CFLAGS=-I/usr/local/opt/openssl/include $ export LDFLAGS=-L/usr/local/opt/openssl/lib
Windows
On Windows the easiest way to install OpenSSL is to use Chocolatey.
> choco install openssl
You will need to set some environment variables to link against OpenSSL:
> $Env:INCLUDE = "C:\Progra~1\OpenSSL-Win64\include"
> $Env:LIB = "C:\Progra~1\OpenSSL-Win64\lib"
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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for aioquic-0.9.20-pp38-pypy38_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 361a4751b89a8fd2e7732b1f140d00313095443f7e9710e14c69a55cbb81d286 |
|
MD5 | 0a612a64a0ba7c7d60210c785c3806a9 |
|
BLAKE2-256 | 688859e3aeefad56547341cb10fdb4f5554828230f019e8cb2386f2c5865b4fb |
Hashes for aioquic-0.9.20-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b45001ec02f8d7c1e7c1b19834cce6f373e908336449a40287f371f91994520b |
|
MD5 | 8e73909226ed20d93a7cadcc5d815b18 |
|
BLAKE2-256 | 9e68a80dbac01cb197aa7f135070a5865a3c92258a8af343dc7f6bc48964139f |
Hashes for aioquic-0.9.20-pp38-pypy38_pp73-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e3a95dc79a12c7f63ce4abe089541a6c7cc5c77ee6daf94ac8658cd5bbac8c72 |
|
MD5 | eef675b9dc84628db72699cd1c745dec |
|
BLAKE2-256 | d27bf99375b7fae170fa7054cf83e145b10533c1120e24ab5b751eccf58066f9 |
Hashes for aioquic-0.9.20-pp38-pypy38_pp73-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c83f38b5b678a77bef1e4b15e2b445aefd6c2fcfa4c6ca675743fd2b8a87ac5 |
|
MD5 | de8a9ce1462487c546a8ad82eef956e5 |
|
BLAKE2-256 | c9b03eb555a1af5dea3d165f1e7879a9996b69141afd44a2d1cec0c6eacef62f |
Hashes for aioquic-0.9.20-pp37-pypy37_pp73-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e1a36e9b162f5ac8254e909d804bcb438f1dfcacbe8a9e5b582ea6fffa1c98d |
|
MD5 | 3bd92325125da546f2f50e9132763b59 |
|
BLAKE2-256 | b1e64a682caec3551c7b48fc57efd2e6c8f7ba934b30f2005f42d9c809cb182e |
Hashes for aioquic-0.9.20-pp37-pypy37_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2bc4fcf51bfebdad0ef582283d6710a939545aff7f71a4bcc4d04171ef790dda |
|
MD5 | fbf621a18a3f159ef21ad6e989657aeb |
|
BLAKE2-256 | 68fcbb062c59b0da6a5d8b463f93ee9f263fb9e5d54ac92001a2fba28988bdfa |
Hashes for aioquic-0.9.20-pp37-pypy37_pp73-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b87af52a6d028cf34b2b580878bc94b3ad11fae101719b04d8b156f90e557d7 |
|
MD5 | 97c1a8efc45d666e17f83b84a9e919e4 |
|
BLAKE2-256 | 3be7cfac7ff4a542b2618a60aae65a7d2c3cf235a4cf4fc4a7cbec387492dc28 |
Hashes for aioquic-0.9.20-pp37-pypy37_pp73-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 207e75535edc4b0113c591ec7bdcf00cd7a7fa42bd589f7ae450817e1bf876a3 |
|
MD5 | 03b139ff0ba071340a58f2abf8eddfab |
|
BLAKE2-256 | 27995ef600430275af6da7b8899276a35bff040043820f34a19cbe4d185839c4 |
Hashes for aioquic-0.9.20-cp310-cp310-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f24878cd08fda8d9b14cd2dcd2173bcdd985e96585eb94f58f80a9db3be47921 |
|
MD5 | 6830e1d1b938cb88f66016783adb722a |
|
BLAKE2-256 | 8f707f9c3edd03c17c3056d928b0c15e0a56ee76be41daf40422eaf1db5880f4 |
Hashes for aioquic-0.9.20-cp310-cp310-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05e98c7ac5c8a4662e1fda72e830dc3fe6e8f7a06e1683acabc6eaab0de0d47d |
|
MD5 | 5ea321c891cfd35b2289a5937f574211 |
|
BLAKE2-256 | 80a0d3baf9032200ea73d4f7b2e0bc81dff97fccf83d54257d6e97f6d9980540 |
Hashes for aioquic-0.9.20-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5984c280fe7afdcdba10bcb76cab13a571573cd7a9173d09dfc43f7de390b8f1 |
|
MD5 | 5acf46d024e45964867cf8fd12408a21 |
|
BLAKE2-256 | ead046ed81c98f13b6600a71c5fece5ef557953348b72ed41cd4441c16bb6b3e |
Hashes for aioquic-0.9.20-cp310-cp310-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5754c3b5bcfeb9b6353b3cad939bf73b61d7e00d43904407cb4cd657ea25734a |
|
MD5 | 5db2651ec5179fe31705fb4287b80d96 |
|
BLAKE2-256 | 4595be13ebb8b8c0110b3c1610f52076cb42855744dba90bbec4a9ca4c146579 |
Hashes for aioquic-0.9.20-cp310-cp310-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67d342295f5642488c3ed926470a289b1b0b0ab85cab63e9065901e63cd21721 |
|
MD5 | 78d75821b03f42455e7c3ffb978b5f28 |
|
BLAKE2-256 | 996c806a67d99eb50213ab3fe4e8821e6cab6d68ad200cc0b0bbfdfceb8dde1b |
Hashes for aioquic-0.9.20-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 351d6483b584e57cdbce90ec49810021c0f8a7621699492f0ccdc0b8578b26cf |
|
MD5 | eceaaa50c713036645a4f76627a54849 |
|
BLAKE2-256 | 4f962e269450eb5d2dac8a939cc684d8ff0ab5feea25343bbb5814558218d417 |
Hashes for aioquic-0.9.20-cp39-cp39-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83d3a145d5f5a9fa9b7b79f4a10072a7d36da34780ab8a17e3be0679aaf37fbf |
|
MD5 | de26427b355de32ee63f8273207a2e2f |
|
BLAKE2-256 | 4177bcfe90a1b51c3ce170c917c9df20cd25e4ab37a1a1f8bdd927ab8924ffbb |
Hashes for aioquic-0.9.20-cp39-cp39-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3983aa6ceeea48e57b5fcf0c1b7dda5aef86342610b53b856cb89ebec80cc4a |
|
MD5 | e95db60c7dca3ab8e337c650987ce8ae |
|
BLAKE2-256 | 038ccafe11d1304b7d9f9ed4e098312b61fb9146a7913605da2dd4e0e4e1321c |
Hashes for aioquic-0.9.20-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 049ebdcdaf421426c89a1ce4acf2f489eac1a1a3fcdb49beeb2404d2eab09614 |
|
MD5 | 7ca5c89718e9af758aa9c1e5ffbcf857 |
|
BLAKE2-256 | bd05af1decbda6b1a366ffc07a822673f1e340b67956bde9e20f5c14124f7549 |
Hashes for aioquic-0.9.20-cp39-cp39-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60d4d861316283bf315f86ee46a835dbdd5e11841ebf20a058ce24e5d1fe7d9c |
|
MD5 | a98bd7b043db075d5c5a55022284b7be |
|
BLAKE2-256 | 96bc834bd6715e1987f630dfc1e8084e49f5744f64b79835755ceff0a508ad42 |
Hashes for aioquic-0.9.20-cp39-cp39-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 105b64c347442ddd074f039e7e3d83d66f9886da0bdcfbe872f5a12390000049 |
|
MD5 | 4189c7e66d765d64e944c957fb81a10f |
|
BLAKE2-256 | 9e5550dbd2c7d9951d12aa3fb0ff6c7a3c6839906ca8f31710773b3d1e836d4d |
Hashes for aioquic-0.9.20-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95f64bc35dcdc00b5ae528dfb8c2abeafcb328462511e56ca1299be2a7a8257d |
|
MD5 | fe24fe253b5ef07580598230420a7355 |
|
BLAKE2-256 | 92581df83f5cc8c64ef47b76238eaa9ad34e7b0604122c3fb5abe5bb67d60efd |
Hashes for aioquic-0.9.20-cp38-cp38-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10866d7a130d09a6190c2be02c17eb32b174c7529295b081872ebbf2dac3fbde |
|
MD5 | dafebfcd8cde7b3861e7835452c52efb |
|
BLAKE2-256 | bcf2b0276c378e9f0076d2291309b6373294c5c0bf252d36ea9fa9d7dbae8c9d |
Hashes for aioquic-0.9.20-cp38-cp38-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 965d5bbd977f65a11ed198820d205dd943681233d35f1cdf104d7fcfb01abc09 |
|
MD5 | d22dfd52b69fa288c57c5a26b3adb1aa |
|
BLAKE2-256 | e2bce51c74cd8444f4879cbebfad166f32d71a33ef191e41be4910c563765557 |
Hashes for aioquic-0.9.20-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4329ee8c32a9a8470ec96625447960c9e1c250af9af91b76adb9486f9e6ff3ea |
|
MD5 | 5f85a5585c02e10a1268c73e7066d0ae |
|
BLAKE2-256 | bf56d77424da8e48bca825026363d0fd43b29733a3f70bf2d3aa91e7fce8ea2e |
Hashes for aioquic-0.9.20-cp38-cp38-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9990f45396376fc29e79f15d508f95b0a679ede2b381f706be97be8b09117d0b |
|
MD5 | fb9807662d2c2c8ae33b239a25fcb2bb |
|
BLAKE2-256 | 4b434cc28be439149c7bf82f7aeed398dc9df1cb39158cf06b7fd8b5ad39782b |
Hashes for aioquic-0.9.20-cp38-cp38-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80c6832a34a555e760909812714e05e380454e86af1b27e5ca65d86cfe663a5e |
|
MD5 | ecfd303e60818035e80bc89cacbe1eea |
|
BLAKE2-256 | 97cd71c13d6243c3fdf69079a782df6235ab7f512e53ffee8146d29f1791028c |
Hashes for aioquic-0.9.20-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60a404b2c69a943f5b80c982919915254d94e3dfaf1b3394d6b11e38fed580c7 |
|
MD5 | e1a6c7fb03cbb49850a3e98979bfc196 |
|
BLAKE2-256 | a4baa15b6658d5f6ec0e1d52143a8dfd35f6471f0b5f5f28076f0ee6ff2776cd |
Hashes for aioquic-0.9.20-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f2155e89400784c5eb83664174e9b9bfcf05ace7647cb72f3ade8c0898c9afc |
|
MD5 | 960535061522c9687288d01b800e397b |
|
BLAKE2-256 | f44c0a4dcfd8553f1cf1135fff71b045a7db55ca16f1b0b57b7466969e4aeafa |
Hashes for aioquic-0.9.20-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b1f30bd50fd5385e8fc60aed56aa638c64ebeb3c53d6af66f3c2ab66c9a05da |
|
MD5 | e57e7d951247d0edea422516852b6b47 |
|
BLAKE2-256 | 8b9b995e667b97e961831e55db2790fdec0c6ca450c9804709462b1e5d8dae10 |
Hashes for aioquic-0.9.20-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d4ce3e4a2d8ef9cf31e898b5bc150fb6dcde79b64d0a6cf6152f9e04ac34f659 |
|
MD5 | bc877157944d2e1331f8a73eaf22825d |
|
BLAKE2-256 | c5d08ff153eeeaa899a1a616a9caa26207d017f32b712b6610ad8e750c4bf1bc |
Hashes for aioquic-0.9.20-cp37-cp37m-manylinux_2_17_i686.manylinux2014_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80b7690ca0fdfd672c0a055bc5f85db4f30f0043ed1d53e236cb14629a4b1e83 |
|
MD5 | 9d1d27f900f968210c9b80ead6d0ac87 |
|
BLAKE2-256 | 32abc85191b00c67d20315f8d5909c1006b5f64acaecaa1dc8a8dcbe60e296fa |
Hashes for aioquic-0.9.20-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c387d38ef79f1834183714c3c7fb2ec76f8a12bc1e371c49309b341773d97e9 |
|
MD5 | 304d8dc2856a42250ebdfd906ebc76b3 |
|
BLAKE2-256 | 3f1274bb37bbddaf4935c2ace9d283302c5574f81f7e3e225af553297b075b04 |