--- id: hyper version: "0.7.0" license: MIT License license_treatment: permissive maintenance: abandoned --- # hyper — HTTP/2 Client for Python License: permissive · Maintenance: abandoned · Downloads: 254.3K/mo ## 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 above — verify before relying. hyper is an HTTP/2 client library for Python that provides a drop-in-style interface for making HTTP/2 requests, similar to the standard library's http.client but designed explicitly for HTTP/2 protocol support. 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 pip install hyper uv add hyper poetry add hyper ## Installing hyper 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. 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()) 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. 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: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 254.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags http/2 client python, http2 requests library, h2 protocol implementation, python http2 connection, http2 client library, modern http protocol client, h2 client wrapper, http2-protocol, abandoned-package [View on SkillFed](https://skillfed.io/packages/hyper) · [View on PyPI](https://pypi.org/project/hyper/)