get url query string dict
Project description
Install
$ [sudo] pip install query_string
Features
- Python 2/3 compatible
Functions
function | description |
---|---|
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
readme-md - README.md generator
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
Built Distribution
Close
Hashes for query_string-2018.11.20-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5ab828c8cdba6500b5517967bb6101d80a636f5be419e93bbcb3042f6aad67e |
|
MD5 | 4d703d8a0589d6a515c2375da48045d2 |
|
BLAKE2b-256 | a5b67d896d6cdc0660275512e8835ac27ecdddf3540adb8375bb2e5b5ccb56bc |