pylsqpack
Python wrapper for the ls-qpack QPACK library
Decision gist · record as of 2026-08-14
Yes, if you are building or testing HTTP/3 protocol support. The package is actively maintained, has no known vulnerabilities, carries a permissive license, and provides a straightforward binding to a well-established QPACK implementation. Install friction is moderate due to compiled wheels, but pre-built binaries are available for common platforms. Not necessary for standard HTTP/1.1 or HTTP/2 applications.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; compiled wheels available for common platforms (x86_64, ARM, i686, Windows).
- Medium install friction due to compiled wheels for multiple platforms and architectures.
- Actively maintained with recent releases; requires Python 3.10 or later.
License · maintenance · safety
BSD-3-Clause (permissive) — BSD-3-Clause is permissive; you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2026-03-29 (138 days) · last repo commit 2026-03-29 · 13 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,171,749 downloads/mo, #2,713 on PyPI
Alternatives
Verify before relying
pip install pylsqpack
from pylsqpack import Decoder, Encoder
decoder = Decoder()
encoded_data = b'...'
headers = decoder.feed_data(encoded_data)
encoder = Encoder()
compressed = encoder.encode(headers)- Whether the package is actively used in production HTTP/3 implementations or primarily for protocol testing.
- Performance characteristics and compression ratio compared to alternative QPACK implementations.
- API stability guarantees and backward compatibility policy across minor versions.
What it is and what it does
pylsqpack is a Python binding for the ls-qpack C library, providing native QPACK compression and decompression for HTTP/3 headers. QPACK is the header compression scheme specified for HTTP/3, and this package exposes Decoder and Encoder objects that allow Python applications to compress headers for transmission or decompress received headers.
The package is compiled to native code for multiple platforms and architectures, making it suitable for HTTP/3 protocol implementations, proxies, and testing tools. It has no runtime dependencies beyond Python itself and supports Python 3.10 through 3.14. The library is actively maintained and carries a permissive BSD-3-Clause license.
Use it for
- Building HTTP/3 clients or servers that need to compress and decompress header frames.
- Testing HTTP/3 protocol implementations with correct QPACK encoding and decoding.
- Integrating QPACK support into proxy or gateway applications handling HTTP/3 traffic.
- Protocol analysis tools that need to parse or generate HTTP/3 header compression.
- Benchmarking or comparing QPACK compression efficiency in network applications.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building or testing HTTP/3 protocol support.
The package is actively maintained, has no known vulnerabilities, carries a permissive license, and provides a straightforward binding to a well-established QPACK implementation. Install friction is moderate due to compiled wheels, but pre-built binaries are available for common platforms. Not necessary for standard HTTP/1.1 or HTTP/2 applications.
Install
pylsqpack on PyPI
Before you install
Medium install friction due to compiled wheels for multiple platforms and architectures. Actively maintained with recent releases; requires Python 3.10 or later.
Requires Python 3.10 or later; compiled wheels available for common platforms (x86_64, ARM, i686, Windows).
License in practice
BSD-3-Clause is permissive; you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install pylsqpack
from pylsqpack import Decoder, Encoder
decoder = Decoder()
encoded_data = b'...'
headers = decoder.feed_data(encoded_data)
encoder = Encoder()
compressed = encoder.encode(headers)
Verify before relying
- Whether the package is actively used in production HTTP/3 implementations or primarily for protocol testing.
- Performance characteristics and compression ratio compared to alternative QPACK implementations.
- API stability guarantees and backward compatibility policy across minor versions.
Package facts
| License | BSD-3-Clause permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 138 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,171,749 / month, #2,713 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet :: WWW/HTTP |
Evidence: pylsqpack-0.3.24-cp310-abi3-macosx_10_9_x86_64.whl; pylsqpack-0.3.24-cp310-abi3-macosx_11_0_arm64.whl; pylsqpack-0.3.24-cp310-abi3-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl; pylsqpack-0.3.24-cp310-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; pylsqpack-0.3.24-cp310-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; pylsqpack-0.3.24-cp310-abi3-musllinux_1_2_aarch64.whl; pylsqpack-0.3.24-cp310-abi3-musllinux_1_2_i686.whl; pylsqpack-0.3.24-cp310-abi3-musllinux_1_2_x86_64.whl; pylsqpack-0.3.24-cp310-abi3-win32.whl; pylsqpack-0.3.24-cp310-abi3-win_amd64.whl; pylsqpack-0.3.24-cp310-abi3-win_arm64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “QPACK encoder decoder”
- pylsqpackpylsqpack provides Python Decoder and Encoder objects for reading and…
- x-transformersx-transformers provides modular transformer building blocks—encoder,…
- protobuf-py-extNative Rust-based encoder/decoder extension that accelerates…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also hpack · brotli · brotlipy · pylzss · compress-pickle · bencode.py · astc-encoder-py · w3lib · Flask-Compress