query_string(string) function - get url query string dict
Project description
Install
github.com: pip install git+git://github.com/russianidiot/query_string.py.git
pypi.python.org: pip install query_string
download: [ -e requirements.txt ] && pip install -r requirements.txt; python setup.py install
Usage
query_string(string) function
>>> from query_string import *
>>> query_string('https://site.org/index.php?k=v&k2=v2&k3=v3#anchor')
{'k': 'v','k2': 'v2', 'k3': 'v3'}
>>> query_string('k=v&k2=v2&k3=v3#anchor')
{'k': 'v','k2': 'v2', 'k3': 'v3'}
Links
Query string - Wikipedia - en.wikipedia.org/wiki/Query_string
Feedback
- Chat with me (english/russian)
russianidiot.github.io/python/ - my Python packages
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-0.0.5.tar.gz
(7.1 kB
view hashes)