Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

python-readme-generator

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for query-string, version 2019.4.13
Filename, size File type Python version Upload date Hashes
Filename, size query-string-2019.4.13.tar.gz (1.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page