--- id: querystring-parser version: "1.2.4" license: unclear license_treatment: permissive maintenance: dormant --- # querystring-parser — QueryString parser for Python/Django that correctly handles nested dictionaries License: permissive · Maintenance: dormant · Downloads: 4.6M/mo ## What it is and what it does querystring-parser converts URL-encoded query strings and form data into nested Python dictionaries, transforming bracket notation (like `section[0]['words'][2]=value`) into actual nested dict structures. Standard Django QueryDict leaves such notation as literal string keys; this package recursively parses them into the intended hierarchy. The package has no runtime dependencies and installs cleanly. It is classified as Mature and supports both Python 2.7 and Python 3, though development stopped in 2019. The repository remains unarchived and receives occasional commits, but no new releases have been published since 2019-07-22, making it a stable but unmaintained tool. Use it for: - Convert complex HTML form submissions with nested field names into usable nested dicts for backend processing. - Parse API query parameters that use bracket notation into proper nested structures for easier data access. - Handle Django form data where frontend frameworks generate bracket-notation keys that need to become actual nested objects. - Transform URL-encoded data from JavaScript frameworks that serialize nested objects into query strings. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Parses URL query strings and POST data into properly nested Python dictionaries, handling bracket notation like `section[0]['words'][2]` that standard Django QueryDict leaves as flat string keys. Yes, if you need to parse nested query strings in a Django or Python web project and are comfortable with unmaintained code. The package is stable, has no known vulnerabilities, carries permissive licensing, and solves a specific problem well. However, do not install if you require active maintenance, security updates, or support for Python versions released after 2019. ## Install pip install querystring-parser uv add querystring-parser poetry add querystring-parser ## Installing querystring-parser Before you install: Low install friction with no runtime dependencies. Maintenance is dormant—last release was 2019-07-22 and last commit 2024-02-29, so the package is stable but receives no active development or security updates. License in practice: MIT License (permissive) allows free use, modification, and distribution with minimal restrictions, making it safe to adopt in most projects without legal concern. Quickstart: from querystring_parser import parser post_dict = parser.parse(request.POST.urlencode()) Verify before relying: - Whether the package handles modern Python versions beyond 3.x declaration (last release 2019, no explicit version ceiling stated). - Performance characteristics on very large or deeply nested query strings in production scenarios. ## Package facts - License: not declared (permissive) - Python support: unspecified - Install friction: low - Maintenance: dormant - Downloads: 4.6M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags parse nested query strings, querystring to nested dict, django form data parser, bracket notation query parser, url encoded nested data, querystring nested dictionary, django, query-parsing, form-data [View on SkillFed](https://skillfed.io/packages/querystring-parser) · [View on PyPI](https://pypi.org/project/querystring-parser/)