An implementation of QUIC
Project description
What is aioquic?
aioquic is a library for the QUIC network protocol in Python. It is built on top of asyncio, Python’s standard asynchronous I/O framework.
aioquic features a minimal TLS 1.3 implementation built upon the cryptography library. This is because QUIC requires some APIs which are currently unavailable in mainstream TLS implementations such as OpenSSL:
the ability to extract traffic secrets
the ability to operate directly on TLS messages, without using the TLS record layer
Status
aioquic is still a work in progress, and the API is not finalized.
Running the examples
aioquic requires Python 3.7 or better. After checking out the code using git you can run:
$ pip install -e .
You can now run the example server:
$ python examples/server.py --certificate tests/ssl_cert.pem --private-key tests/ssl_key.pem
You can also run the example client, which will perform an HTTP/0.9 request:
$ python examples/client.py localhost 4433
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
File details
Details for the file aioquic-0.1.0.tar.gz
.
File metadata
- Download URL: aioquic-0.1.0.tar.gz
- Upload date:
- Size: 41.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
d275cae2fb848713444c0b1aebdf610d9c3b1e8319a3b55f9e2e3633f0a11e04
|
|
MD5 |
34ad6a0ffa32871cf0445f999ab4e0ee
|
|
BLAKE2b-256 |
7ed4076f9b2f49bce366f6a7cb6b0ff1335dc1ea3a7f9732b5a36e5c06c68bb1
|