Skip to main content

Query String Parsing The Way It Should Be

Project description

Copyright 2011-2016 Adam Venturella

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. Description: Python’s default urlparse.parse_qs() does not understand the concept of data structures. While this works for simple querystrings, anything more complex returns a less than desirable result.

This library will intelligently parse complex querystrings that python’s library is unable to handle such as the following:

mylist[]=item0&mylist[]=item1

mylist[0]=item0&mylist[1]=item1

mylist[0][0]=subitem0&mylist[0][1]=subitem1

mylist.element=item0

mylist.element[0]=item0&mylist.element[1]=item0

Platform: UNKNOWN Classifier: Development Status :: 5 - Production/Stable Classifier: Intended Audience :: Developers Classifier: Natural Language :: English Classifier: Topic :: Internet :: WWW/HTTP Classifier: License :: OSI Approved :: Apache Software License Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 2.6 Classifier: Programming Language :: Python :: 2.7 Classifier: Programming Language :: Python :: 3 Classifier: Programming Language :: Python :: 3.3 Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Classifier: Programming Language :: Python :: 3.6 Classifier: Programming Language :: Python :: 3.7

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

pyquerystring-1.1.tar.gz (4.6 kB view details)

Uploaded Source

File details

Details for the file pyquerystring-1.1.tar.gz.

File metadata

  • Download URL: pyquerystring-1.1.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.4.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.0

File hashes

Hashes for pyquerystring-1.1.tar.gz
Algorithm Hash digest
SHA256 d393385f03baf2ec80830e8bb0e4e65210924e1952d845466b0b55a7ded7af3e
MD5 775e6bfe0464c9c7c653d9bb6fe8fde9
BLAKE2b-256 fa39837903fee4a4d8e454d6457534f91395c20f777aa2de0d97d479ae721da8

See more details on using hashes here.

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