hyper
HTTP/2 Client for Python
Decision gist · record as of 2026-08-14
No. The package is abandoned (no releases since 2016-09-27) and marked alpha, meaning it will not receive security updates or bug fixes. Modern Python applications should use requests, httpx, or aiohttp instead, all of which have active maintenance and better HTTP/2 support. Install hyper only if you are maintaining legacy code that already depends on it and cannot migrate.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a server that supports HTTP/2; most servers at the time of the package's last release did not.
- The package is in early alpha and abandoned, so compatibility with modern HTTP/2 implementations is uncertain.
- Installation is low-friction with five runtime dependencies (h2, hyperframe, cryptography, pyOpenSSL, service-identity) all available as wheels.
License · maintenance · safety
MIT License (permissive) — MIT License permits commercial and private use with minimal restrictions, making it legally straightforward to adopt. However, the permissive license does not guarantee ongoing maintenance or support.
last release 2016-09-27 (3608 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 254,291 downloads/mo, #8,499 on PyPI
Alternatives
Verify before relying
from hyper import HTTPConnection
conn = HTTPConnection('http2bin.org:443')
conn.request('GET', '/get')
resp = conn.get_response()
print(resp.read())- Whether hyper remains compatible with current HTTP/2 server implementations and modern TLS versions
- Current state of the five runtime dependencies (h2, hyperframe, cryptography, pyOpenSSL, service-identity) and whether they have received security updates since 2016
- Whether the package works reliably with Python versions beyond 3.5
What it is and what it does
hyper is a Python HTTP/2 client library that attempts to provide HTTP/2 protocol support to Python applications. It wraps the lower-level h2 and hyperframe libraries to handle HTTP/2 framing and header compression, and depends on cryptography and pyOpenSSL for TLS negotiation. The library exposes an API similar to the standard library's http.client, with classes like HTTPConnection that accept host and port, then allow you to issue requests and read responses.
The package was designed as an early-stage implementation of the HTTP/2 specification during a period when server support was limited. It supports HTTP/2 final draft and earlier drafts (14, 15, 16), and can negotiate protocol version via ALPN when using PyOpenSSL. However, the package has been abandoned since 2016 and is marked as alpha, meaning it likely contains bugs and rough edges that will never be fixed.
Use it for
- Testing HTTP/2 protocol support in a Python application when a server explicitly supports HTTP/2 and you need explicit control over the protocol version
- Learning how HTTP/2 framing and header compression work at the Python library level, given the package's relatively transparent delegation to h2 and hyperframe
- Legacy applications that were written against hyper before more mature HTTP/2 clients became available and cannot easily migrate away
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No.
The package is abandoned (no releases since 2016-09-27) and marked alpha, meaning it will not receive security updates or bug fixes. Modern Python applications should use requests, httpx, or aiohttp instead, all of which have active maintenance and better HTTP/2 support. Install hyper only if you are maintaining legacy code that already depends on it and cannot migrate.
Install
hyper on PyPI
Before you install
Installation is low-friction with five runtime dependencies (h2, hyperframe, cryptography, pyOpenSSL, service-identity) all available as wheels. However, the package is marked abandoned with no releases since 2016-09-27 and is in alpha status, so expect no active maintenance or security updates.
Requires a server that supports HTTP/2; most servers at the time of the package's last release did not. The package is in early alpha and abandoned, so compatibility with modern HTTP/2 implementations is uncertain.
License in practice
MIT License permits commercial and private use with minimal restrictions, making it legally straightforward to adopt. However, the permissive license does not guarantee ongoing maintenance or support.
Quickstart
from hyper import HTTPConnection
conn = HTTPConnection('http2bin.org:443')
conn.request('GET', '/get')
resp = conn.get_response()
print(resp.read())
Verify before relying
- Whether hyper remains compatible with current HTTP/2 server implementations and modern TLS versions
- Current state of the five runtime dependencies (h2, hyperframe, cryptography, pyOpenSSL, service-identity) and whether they have received security updates since 2016
- Whether the package works reliably with Python versions beyond 3.5
Package facts
| License | MIT License permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesh2hyperframecryptographypyOpenSSLservice-identity |
| Maintenance | Abandoned 3,608 days since the last release |
| First released | |
| Downloads | 254,291 / month, #8,499 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: Implementation :: CPython |
Evidence: hyper-0.7.0-py2.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 › “http2 requests library”
- hyperhyper is an HTTP/2 client library for Python that provides a…
- hyper-upHTTP/2 client library for Python that provides an alternative to…
- httpxHTTPX is a fully featured HTTP client library for Python that…
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 hyper-up · hyperframe · jh2 · hpack · Hypercorn · h2 · httpcore2 · httpx2