Skip to main content

An implementation of QUIC and HTTP/3

Project description

pypi-v pypi-pyversions pypi-l codecov

What is qh3?

qh3 is a maintained fork of the aioquic library. It is lighter, and more adapted to mass usage. Regularly improved and expect a better time to initial response in issues and PRs.

qh3 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 standardized in RFC 9000 and HTTP/3 in RFC 9114. qh3 is regularly tested for interoperability against other QUIC implementations.

To learn more about qh3 please read the documentation.

Why should I use qh3?

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

This library is the lowest level you can find for handling QUIC and HTTP/3. Here are higher libraries:

Features

  • QUIC stack conforming with RFC 9000

  • HTTP/3 stack conforming with RFC 9114

  • minimal TLS 1.3 implementation conforming with RFC 8446

  • 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

qh3 requires Python 3.7 or greater.

Running the examples

qh3 comes with a number of examples illustrating various QUIC use cases.

You can browse these examples here: https://github.com/Ousret/qh3/tree/main/examples

License

qh3 is released under the BSD license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qh3-0.15.1.tar.gz (812.4 kB view hashes)

Uploaded Source

Built Distributions

qh3-0.15.1-pp310-pypy310_pp73-win_amd64.whl (253.1 kB view hashes)

Uploaded PyPy Windows x86-64

qh3-0.15.1-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (260.9 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

qh3-0.15.1-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (261.4 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

qh3-0.15.1-pp310-pypy310_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (265.2 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

qh3-0.15.1-pp310-pypy310_pp73-macosx_10_9_x86_64.whl (256.4 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

qh3-0.15.1-pp39-pypy39_pp73-win_amd64.whl (253.1 kB view hashes)

Uploaded PyPy Windows x86-64

qh3-0.15.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (260.9 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

qh3-0.15.1-pp39-pypy39_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (261.3 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

qh3-0.15.1-pp39-pypy39_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (265.2 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

qh3-0.15.1-pp39-pypy39_pp73-macosx_10_9_x86_64.whl (256.4 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

qh3-0.15.1-pp38-pypy38_pp73-win_amd64.whl (253.1 kB view hashes)

Uploaded PyPy Windows x86-64

qh3-0.15.1-pp38-pypy38_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (260.9 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ x86-64

qh3-0.15.1-pp38-pypy38_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (261.4 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ ARM64

qh3-0.15.1-pp38-pypy38_pp73-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (265.2 kB view hashes)

Uploaded PyPy manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

qh3-0.15.1-pp38-pypy38_pp73-macosx_10_9_x86_64.whl (256.4 kB view hashes)

Uploaded PyPy macOS 10.9+ x86-64

qh3-0.15.1-cp37-abi3-win_amd64.whl (252.8 kB view hashes)

Uploaded CPython 3.7+ Windows x86-64

qh3-0.15.1-cp37-abi3-win32.whl (250.3 kB view hashes)

Uploaded CPython 3.7+ Windows x86

qh3-0.15.1-cp37-abi3-musllinux_1_1_x86_64.whl (345.0 kB view hashes)

Uploaded CPython 3.7+ musllinux: musl 1.1+ x86-64

qh3-0.15.1-cp37-abi3-musllinux_1_1_i686.whl (343.0 kB view hashes)

Uploaded CPython 3.7+ musllinux: musl 1.1+ i686

qh3-0.15.1-cp37-abi3-musllinux_1_1_aarch64.whl (346.4 kB view hashes)

Uploaded CPython 3.7+ musllinux: musl 1.1+ ARM64

qh3-0.15.1-cp37-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (344.5 kB view hashes)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ x86-64

qh3-0.15.1-cp37-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (344.7 kB view hashes)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ ARM64

qh3-0.15.1-cp37-abi3-manylinux_2_5_i686.manylinux1_i686.manylinux_2_17_i686.manylinux2014_i686.whl (341.3 kB view hashes)

Uploaded CPython 3.7+ manylinux: glibc 2.17+ i686 manylinux: glibc 2.5+ i686

qh3-0.15.1-cp37-abi3-macosx_11_0_arm64.whl (263.6 kB view hashes)

Uploaded CPython 3.7+ macOS 11.0+ ARM64

qh3-0.15.1-cp37-abi3-macosx_10_9_x86_64.whl (259.2 kB view hashes)

Uploaded CPython 3.7+ macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page