fast-query-parsers
Ultra-fast query string and url-encoded form-data parsers
Decision gist · record as of 2026-08-14
Yes, if you are building or maintaining a web application that parses query strings or form data at scale. The performance gains are substantial and well-documented, the library is actively maintained, has no external dependencies, and carries a permissive MIT license. Install friction is moderate due to compiled wheels, but pre-built binaries cover standard platforms. Not necessary for low-traffic applications where parsing is not a bottleneck.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Medium install friction due to compiled wheels, but pre-built binaries are available for common platforms (x86_64, ARM, PowerPC, s390x on Linux, macOS, and Windows).
- Active maintenance with last commit on 2026-07-30.
License · maintenance · safety
permissive license (permissive) — Licensed under MIT (permissive), allowing use in both open-source and proprietary projects with minimal restrictions.
last release 2023-08-25 (1085 days) · last repo commit 2026-07-30 · 49 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 81,816 downloads/mo, #14,198 on PyPI
Alternatives
Verify before relying
from fast_query_parsers import parse_query_string, parse_url_encoded_dict
# Parse query string
result = parse_query_string(b"value=1&value=2&type=dollar", "&")
# [("value", "1"), ("value", "2"), ("type", "dollar")]
# Parse URL-encoded form data
encoded = b"value=10&healthy=true&json=null"
result = parse_url_encoded_dict(encoded, parse_numbers=True)
# {"value": 10, "healthy": True, "json": None}- Whether the x5 and x2 performance improvements cited in benchmarks hold for real-world workloads in production environments.
- Compatibility with edge cases in query string encoding or malformed input beyond what the documentation examples show.
What it is and what it does
fast-query-parsers is a Python library that wraps Rust-based parsers for two common web tasks: parsing query strings into key-value tuples and parsing URL-encoded form data into Python dictionaries with automatic type conversion. It is designed as a drop-in replacement for the standard library's parse_qsl and parse_qs functions, but with significantly faster performance. The library supports Python 3.8 and later and is actively used by Litestar, a web framework, though it can be used independently in any project that needs to parse query parameters or form data.
The main value proposition is speed: according to the documentation's benchmarks, query string parsing is more than 5 times faster than the standard library, and URL-encoded parsing is more than 2 times faster. The URL-encoded parser also handles type conversions correctly—parsing numbers, booleans, JSON arrays, and objects—unlike the standard library's parse_qs, which nests all values in lists. It has no runtime dependencies and is available as pre-compiled wheels for most common platforms.
Use it for
- Parsing incoming HTTP query parameters in high-throughput web applications where parsing latency matters.
- Converting URL-encoded form submissions into typed Python dictionaries without manual post-processing.
- Replacing standard library parsing in existing web frameworks or ASGI applications to reduce CPU overhead.
- Handling JSON-like values embedded in query strings or form fields (arrays, objects, booleans, null).
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building or maintaining a web application that parses query strings or form data at scale.
The performance gains are substantial and well-documented, the library is actively maintained, has no external dependencies, and carries a permissive MIT license. Install friction is moderate due to compiled wheels, but pre-built binaries cover standard platforms. Not necessary for low-traffic applications where parsing is not a bottleneck.
Install
fast-query-parsers on PyPI
Before you install
Medium install friction due to compiled wheels, but pre-built binaries are available for common platforms (x86_64, ARM, PowerPC, s390x on Linux, macOS, and Windows). Active maintenance with last commit on 2026-07-30.
License in practice
Licensed under MIT (permissive), allowing use in both open-source and proprietary projects with minimal restrictions.
Quickstart
from fast_query_parsers import parse_query_string, parse_url_encoded_dict
# Parse query string
result = parse_query_string(b"value=1&value=2&type=dollar", "&")
# [("value", "1"), ("value", "2"), ("type", "dollar")]
# Parse URL-encoded form data
encoded = b"value=10&healthy=true&json=null"
result = parse_url_encoded_dict(encoded, parse_numbers=True)
# {"value": 10, "healthy": True, "json": None}
Verify before relying
- Whether the x5 and x2 performance improvements cited in benchmarks hold for real-world workloads in production environments.
- Compatibility with edge cases in query string encoding or malformed input beyond what the documentation examples show.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 1,085 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 81,816 / month, #14,198 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: RustTopic :: Internet :: WWW/HTTPTopic :: Software DevelopmentTopic :: Software Development :: LibrariesTyping :: Typed |
Evidence: fast_query_parsers-1.0.3-cp38-abi3-macosx_10_7_x86_64.whl; fast_query_parsers-1.0.3-cp38-abi3-macosx_10_9_x86_64.macosx_11_0_arm64.macosx_10_9_universal2.whl; fast_query_parsers-1.0.3-cp38-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; fast_query_parsers-1.0.3-cp38-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; fast_query_parsers-1.0.3-cp38-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; fast_query_parsers-1.0.3-cp38-abi3-manylinux_2_17_ppc64.manylinux2014_ppc64.whl; fast_query_parsers-1.0.3-cp38-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl; fast_query_parsers-1.0.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; fast_query_parsers-1.0.3-cp38-abi3-manylinux_2_5_i686.manylinux1_i686.whl; fast_query_parsers-1.0.3-cp38-abi3-musllinux_1_2_aarch64.whl; fast_query_parsers-1.0.3-cp38-abi3-musllinux_1_2_armv7l.whl; fast_query_parsers-1.0.3-cp38-abi3-musllinux_1_2_i686.whl; fast_query_parsers-1.0.3-cp38-abi3-musllinux_1_2_x86_64.whl; fast_query_parsers-1.0.3-cp38-abi3-win32.whl; fast_query_parsers-1.0.3-cp38-abi3-win_amd64.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 › “query string parser”
- fast-query-parsersParses query strings and URL-encoded form data into Python objects…
- query-stringParses URL query strings and fragments into Python dictionaries,…
- can-adaParses and manipulates URLs according to the WHATWG specification,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also moviepilot-rust · querystring-parser · pyfaup-rs · betterproto-rust-codec · textparser · ast-serialize · multipart · hogql-parser-rs · pybigtools · openlineage-sql