Registry / http-networking / httptools

httptools

JSON →
library0.7.1pypypi✓ verified 35d ago

A Python binding for the Node.js HTTP parser, providing fast and efficient HTTP parsing capabilities. Current version: 0.7.1. Maintained actively with regular updates.

http-networkingweb-framework
Install & Compatibility
Where this runs
tested against v0.8.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.925 runs
installs and imports cleanly · install 0.0s · import 0.014s · 18.9MB
glibc
py 3.103.925 runs
installs and imports cleanly · install 1.6s · import 0.012s · 20MB
17MB installed
● package 17MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Ensure correct import path to access the HttpRequestParser class.

from httptools import HttpRequestParser

A basic example demonstrating how to import and use the HttpRequestParser class from httptools.

from httptools import HttpRequestParser # Initialize the parser with a protocol object parser = HttpRequestParser(protocol) # Feed data to the parser parser.feed(data) # Access parsed data parsed_data = parser.get_parsed_data()
Debug
Known footguns
breakingPython 3.8 is no longer supported; Python 3.9 or higher is required.
breakingThe 'protocol' object passed to HttpRequestParser must be defined and then have the required methods implemented.
breakingThe 'protocol' variable is not defined before being passed to HttpRequestParser.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
19 hits · last 30 days
claudebot
5
gptbot
4
amazonbot
4
ahrefsbot
3
dotbot
2
chatgpt-user
1
Resources