get url query string dict
Project description
Installation
$ [sudo] pip install query-string
Features
- Python 2/3 compatible
Functions
function | __doc__ |
---|---|
query_string.parse(string) |
return dict with query string data |
query_string.query_string(string) |
return dict with query string data. deprecated |
Examples
>>> import query_string
>>> query_string.parse('https://site.org/index.php?k=v&k2=v2&k3=v3#anchor')
{'k': 'v','k2': 'v2', 'k3': 'v3'}
>>> query_string.parse('k=v&k2=v2&k3=v3')
{'k': 'v','k2': 'v2', 'k3': 'v3'}
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
query-string-2019.3.22.tar.gz
(1.5 kB
view hashes)
Built Distribution
Close
Hashes for query_string-2019.3.22-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c55143803f12e0415287b89637afcba731e848b82d0d2383513d71dc7e0d9ad4 |
|
MD5 | 1898666e7dfc0d1cedab71f8cb577c84 |
|
BLAKE2b-256 | 4f84e2b0ea95fff1d29cd10852283b5fe11de2759f3d129105b0759199bf6996 |