hyperframe
Pure-Python HTTP/2 framing
Install
hyperframe on PyPI
pip
pip install hyperframeuv
uv add hyperframepoetry
poetry add hyperframePackage facts
| License | The MIT License (MIT) Copyright (c) 2014 Cory Benfield Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the… (full text in the JSON record) (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 568 days since the last release |
| Last repo commit | |
| First released | |
| Popularity | one of the top 1,000 most-downloaded packages on PyPI (30-day window, as of 2026-08-13) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-13) |
Evidence: hyperframe-6.1.0-py3-none-any.whl
About hyperframe
from the package's own PyPI description — quoted content, verbatim
====================================== hyperframe: Pure-Python HTTP/2 framing ======================================
.. image:: https://github.com/python-hyper/hyperframe/workflows/CI/badge.svg :target: https://github.com/python-hyper/hyperframe/actions :alt: Build Status .. image:: https://codecov.io/gh/python-hyper/hyperframe/branch/master/graph/badge.svg :target: https://codecov.io/gh/python-hyper/hyperframe :alt: Code Coverage .. image:: https://readthedocs.org/projects/hyperframe/badge/?version=latest :target: https://hyperframe.readthedocs.io/en/latest/ :alt: Documentation Status .. image:: https://img.shields.io/badge/chat-join_now-brightgreen.svg :target: https://gitter.im/python-hyper/community :alt: Chat community
This library contains the HTTP/2 framing code used in the hyper_ project. It
provides a pure-Python codebase that is capable of decoding a binary stream
into HTTP/2 frames.
This library is used directly by hyper_ and a number of other projects to
provide HTTP/2 frame decoding logic.
Contributing
hyperframe welcomes contributions from anyone! Unlike many other projects we are happy to accept cosmetic...
Read as markdown · JSON record · Source repository · Homepage · Docs
AI interpretation — verify before relying
AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page
hyperframe decodes binary HTTP/2 frame streams into structured Python objects, providing pure-Python framing logic for HTTP/2 implementations.
Low friction: pure-Python wheel with zero runtime dependencies and active maintenance. Last release 2025-01-22 with recent commits; supports Python 3.9–3.13 and PyPy.
MIT license (permissive) allows commercial and private use with minimal restrictions; attribution required but no copyleft obligations.
Usage
pip install hyperframe
import hyperframe.frame
frame = hyperframe.frame.SettingsFrame(0)
data = frame.serialize()
Requires Python 3.9 or later.
Verdict: hyperframe is a stable, actively maintained HTTP/2 framing library with zero dependencies, permissive licensing, and no known vulnerabilities. It is well-suited for projects needing HTTP/2 frame encoding and decoding.
Needs verification
- Whether the package is widely adopted beyond the hyper project ecosystem itself
- Performance characteristics compared to C-based HTTP/2 implementations
- Specific frame types and settings the library supports
Similar packages
permissive · top 100 on PyPI
h2permissive · top 1,000 on PyPI
hpackpermissive · top 1,000 on PyPI
wsprotopermissive · top 1,000 on PyPI
hyperlinkpermissive · top 1,000 on PyPI
requests-toolbeltpermissive · top 1,000 on PyPI
stack-datapermissive · top 1,000 on PyPI
anyiopermissive · top 100 on PyPI
cbor2permissive · top 1,000 on PyPI
grpclibpermissive · top 1,000 on PyPI