{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/18"},{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/10"},{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/8"}],"enrichment":{"capability":"Parses query strings and URL-encoded form data into Python objects using Rust-based parsers, offering significantly faster performance than the standard library.","skillfed_tags":["query-parsing","performance-critical","rust-binding"],"use_cases":["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)."],"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.\n\nThe 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\u2014parsing numbers, booleans, JSON arrays, and objects\u2014unlike 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.","worth_installing":"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."},"id":"fast-query-parsers","links":{"html":"https://skillfed.io/packages/fast-query-parsers","md":"https://skillfed.io/packages/fast-query-parsers.md","pypi":"https://pypi.org/project/fast-query-parsers/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2023-08-25","license_spdx":null,"license_treatment":"permissive","name":"fast-query-parsers","python_support":"supports_current","summary":"Ultra-fast query string and url-encoded form-data parsers"},"popularity":{"monthly_downloads":81816,"position":14198,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.3"}
