gunicorn_h1c
Fast HTTP/1.1 parser for Gunicorn using picohttpparser
Decision gist · record as of 2026-08-14
Yes, with conditions. Install if you are running Gunicorn in a high-throughput environment where HTTP parsing is a measurable bottleneck and you can test compatibility with your specific platform and Gunicorn version. The package is actively maintained, permissively licensed, and has no known vulnerabilities, but its beta status and young release history (first release March 2026) mean production adoption should be preceded by performance testing and staging validation. Avoid if you need guaranteed long-term stability or support for niche architectures without a C compiler.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- Compiled C extension; pre-built wheels available for common platforms, but installation on unsupported architectures may require a C compiler.
- Medium install friction due to compiled C extension (wheel provided for macOS ARM64 and likely other platforms).
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions, making it suitable for both open-source and proprietary projects.
last release 2026-04-20 (116 days) · last repo commit 2026-04-20 · 9 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 128,058 downloads/mo, #11,721 on PyPI
Alternatives
Verify before relying
pip install gunicorn_h1c
from gunicorn_h1c import parse_request
data = b"GET /path HTTP/1.1\r\nHost: localhost\r\n\r\n"
result = parse_request(data)
print(result['method']) # b'GET'
print(result['consumed']) # bytes consumed- Whether pre-built wheels are available for platforms beyond macOS ARM64 (Linux x86_64, Windows, etc.)
- Real-world performance gains over httptools in production Gunicorn deployments
- Stability and compatibility with Gunicorn versions beyond the package's initial release window
What it is and what it does
gunicorn_h1c is a high-performance HTTP/1.1 parser written in C and exposed to Python, designed as a drop-in replacement for Gunicorn's default Python parser. It uses SIMD instructions (SSE4.2 on x86, NEON on ARM) and lazy object creation to minimize overhead. The package provides multiple parsing modes: a basic dict-returning parser, a zero-copy fast parser with lazy property access, a callback-based protocol handler for asyncio integration, and raw offset-based parsing for maximum speed.
It handles common HTTP parsing tasks—extracting method, path, headers, and version—while enforcing limits matching Gunicorn's defaults. It can generate WSGI environ dicts or ASGI scope objects directly from raw HTTP data, supporting incremental parsing for streaming scenarios and chunked transfer encoding. The package is actively maintained, supports Python 3.9 through 3.14, and carries no known security vulnerabilities.
Use it for
- Replace Gunicorn's Python HTTP parser to reduce per-request parsing latency in high-throughput WSGI applications.
- Build asyncio-based HTTP servers with callback-driven parsing via H1CProtocol for zero-copy request handling.
- Parse incoming HTTP requests in custom protocol handlers that need ASGI scope or WSGI environ generation.
- Implement incremental HTTP parsing in streaming or buffered I/O scenarios where requests arrive in fragments.
- Benchmark or profile HTTP parsing performance in web frameworks that need to measure request handling overhead.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, with conditions.
Install if you are running Gunicorn in a high-throughput environment where HTTP parsing is a measurable bottleneck and you can test compatibility with your specific platform and Gunicorn version. The package is actively maintained, permissively licensed, and has no known vulnerabilities, but its beta status and young release history (first release March 2026) mean production adoption should be preceded by performance testing and staging validation. Avoid if you need guaranteed long-term stability or support for niche architectures without a C compiler.
Install
gunicorn-h1c on PyPI
Before you install
Medium install friction due to compiled C extension (wheel provided for macOS ARM64 and likely other platforms). Package is actively maintained with recent commits and no known vulnerabilities. Beta status and young release history (first release March 2026) mean production use should be evaluated carefully.
Requires Python 3.9 or later. Compiled C extension; pre-built wheels available for common platforms, but installation on unsupported architectures may require a C compiler.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely with minimal restrictions, making it suitable for both open-source and proprietary projects.
Quickstart
pip install gunicorn_h1c
from gunicorn_h1c import parse_request
data = b"GET /path HTTP/1.1\r\nHost: localhost\r\n\r\n"
result = parse_request(data)
print(result['method']) # b'GET'
print(result['consumed']) # bytes consumed
Verify before relying
- Whether pre-built wheels are available for platforms beyond macOS ARM64 (Linux x86_64, Windows, etc.)
- Real-world performance gains over httptools in production Gunicorn deployments
- Stability and compatibility with Gunicorn versions beyond the package's initial release window
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 116 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 128,058 / month, #11,721 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: CProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: HTTP Servers |
Evidence: gunicorn_h1c-0.6.5-cp312-cp312-macosx_11_0_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 › “http/1.1 parser”
- gunicorn_h1cFast HTTP/1.1 request and response parser for Gunicorn using…
- h11h11 is a pure-Python HTTP/1.1 protocol implementation that handles…
- PyYAMLPyYAML parses and emits YAML 1.1 data format, enabling serialization…
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 gunicorn · Hypercorn · uvicorn · microversion-parse · uvicorn-worker · types-gunicorn · a2wsgi · multipart · httpr