Registry / http-networking / fast-query-parsers

fast-query-parsers

JSON →
library1.0.3pypypi✓ verified 85d ago

Ultra-fast query string and URL-encoded form-data parsers for Python. Current version 1.0.3, license MIT, requires Python >=3.8. Aimed at high-performance web applications.

pip install fast-query-parsers
INSTALL
IMPORT
SIG · FAST-QUERY-PARSERS
F
fast-query-parsers
http-networkingpythonv1.0.3
Install
1.6s avg
Import
Disk
18MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v1.0.3 · 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.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 20.2MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.6s · import 0.000s · 20MB
18MB installed
● package 18MB
Code
Verified usage

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

fast_query_parsers
import fast_query_parsers
from fast_query_parsers import int_list
parse_query_string
from fast_query_parsers import parse_query_string
parse_url_encoded_dict
from fast_query_parsers import parse_url_encoded_dict

Parse query strings and extract integer lists from URLs.

from fast_query_parsers import parse_query_string, int_list url = '/path?key=value&arr=1&arr=2&arr=3' parsed = parse_query_string(url) print(parsed) # {'key': 'value', 'arr': ['1', '2', '3']} # Use int_list for integer conversion def parse_ints(url): return int_list(url, 'arr') print(parse_ints(url)) # [1, 2, 3]
Debug
Known issues
gotchaparse_query_string returns all values as strings; use int_list for integer conversion.
fix
Use int_list(url, key) to get a list of ints for a specific key.
affects: *
gotchaThe library parses from full URL paths; ensure you pass the complete URL or query string correctly.
fix
Pass the URL path including query string, e.g., '/path?key=value'.
affects: *
deprecatedVersion 1.0.3 is current; no known deprecations yet.
affects: none
breakingNo breaking changes documented; sudden behavior changes possible in future versions.
fix
Pin to a specific version in production.
affects: none
Upgrade
Version history
1.0.3latest on PyPI · released Aug 25, 2023
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
fast-query-parsers — pip install fast-query-parsers · libregistry