Skip to main content

query_string(string) function - get url query string dict

Project description

https://img.shields.io/pypi/v/query_string.svg https://img.shields.io/pypi/pyversions/query_string.svg https://img.shields.io/pypi/dm/query_string.svg

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'}

Feedback

github_issues - Github Issues

gitter - Chat with me (english/russian)

russianidiot.github.io/python/ - my Python packages

Project details


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.4.tar.gz (5.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page