hyperframe
Pure-Python HTTP/2 framing
Decision gist · record as of 2026-08-14
Yes. hyperframe is a stable, actively maintained, zero-dependency library with permissive licensing and broad Python version support. It fills a specific, well-defined role in the HTTP/2 ecosystem and is suitable for any project needing HTTP/2 frame handling. No known security vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- Low install friction with no runtime dependencies.
- Actively maintained as of 2026-04-10 with stable production status; supports current Python versions (3.9, 3.10, 3.11, 3.12, 3.13) across CPython and PyPy.
License · maintenance · safety
permissive license (permissive) — MIT license permits unrestricted use, modification, and redistribution in both open-source and proprietary projects with minimal obligations beyond retaining the license notice.
last release 2025-01-22 (569 days) · last repo commit 2026-04-10 · 63 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 170,669,258 downloads/mo, #249 on PyPI
Alternatives
Verify before relying
pip install hyperframe
import hyperframe.frame
frame = hyperframe.frame.SettingsFrame(0)
data = frame.serialize()- Specific frame types supported and their serialization/deserialization behavior.
- Performance characteristics when decoding large or malformed frame streams.
- Whether the package is actively used by projects beyond hyper itself.
What it is and what it does
hyperframe is a pure-Python library that implements HTTP/2 frame encoding and decoding. It extracts the framing logic originally from the hyper project and makes it available as a standalone component for any HTTP/2 implementation that needs to work with the binary frame format.
The library provides frame classes for HTTP/2 frame types and handles serialization to and deserialization from the wire format. It has no runtime dependencies and is designed to be a lightweight, reusable building block for HTTP/2 protocol work.
Use it for
- Building HTTP/2 client or server implementations that need to parse incoming frame streams.
- Debugging or inspecting HTTP/2 traffic by decoding raw frame data.
- Implementing HTTP/2 proxies or gateways that forward or transform frames.
- Testing HTTP/2 protocol compliance by generating and validating frame sequences.
- Integrating HTTP/2 support into frameworks or libraries that need frame-level control.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
hyperframe is a stable, actively maintained, zero-dependency library with permissive licensing and broad Python version support. It fills a specific, well-defined role in the HTTP/2 ecosystem and is suitable for any project needing HTTP/2 frame handling. No known security vulnerabilities.
Install
hyperframe on PyPI
Before you install
Low install friction with no runtime dependencies. Actively maintained as of 2026-04-10 with stable production status; supports current Python versions (3.9, 3.10, 3.11, 3.12, 3.13) across CPython and PyPy.
Requires Python 3.9 or later.
License in practice
MIT license permits unrestricted use, modification, and redistribution in both open-source and proprietary projects with minimal obligations beyond retaining the license notice.
Quickstart
pip install hyperframe
import hyperframe.frame
frame = hyperframe.frame.SettingsFrame(0)
data = frame.serialize()
Verify before relying
- Specific frame types supported and their serialization/deserialization behavior.
- Performance characteristics when decoding large or malformed frame streams.
- Whether the package is actively used by projects beyond hyper itself.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 569 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 170,669,258 / month, #249 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/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy |
Evidence: hyperframe-6.1.0-py3-none-any.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 › “HTTP/2 frame parsing”
- hyperframehyperframe decodes binary HTTP/2 frame streams into structured Python…
- jh2jh2 is a pure-Python HTTP/2 protocol state machine that handles frame…
- h2h2 is a pure-Python HTTP/2 protocol implementation that handles…
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 h2 · hpack · priority · jh2 · hyper · hyper-up · cobs · pamqp · wsproto