A lightweight Python library for parsing and manipulating URL query strings. The current version is 2020.12.3, released in December 2020. Development appears inactive; no new releases since then.
pip install query-string==2020.12.3No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Parse a URL query string into a dictionary.
Always pass a full URL including scheme and host, or prefix with 'http://example.com/?'.
Use 'from urllib.parse import urlparse, parse_qs' or 'import requests'.
Convert values manually after parsing.
If you expect a single value, use dict comprehension to take the first or last element from the list.
Use 'from query_string import parse'.
Ensure you pass a full URL like 'http://example.com?foo=1'.
No dependency data recorded yet.