A library for parsing URL query strings into heterogeneously shaped dicts.
Project description
The specifications that define the makeup of URLs are
very flexible when it comes to what makes up the query string portion (the part
after the `?`). Many web services have taken the initial recommendation of using
`key=value` pairs to another level by allowing complex structures to be
represented for a sacrifice in parsing performance.
The goals of this project are:
* Be able to process sequence and sub-mapping hints in URL query string keys.
* Only shape values into sequences if there are multiple occurrences of the same
key or the key contains a sequence hint.
* Remain standards-compliant with URI and URL RFC specs.
* Provide an API similar to Python 3's standard urllib.
* Be Python 2 and 3 compatible without relying on a compatibility library.
very flexible when it comes to what makes up the query string portion (the part
after the `?`). Many web services have taken the initial recommendation of using
`key=value` pairs to another level by allowing complex structures to be
represented for a sacrifice in parsing performance.
The goals of this project are:
* Be able to process sequence and sub-mapping hints in URL query string keys.
* Only shape values into sequences if there are multiple occurrences of the same
key or the key contains a sequence hint.
* Remain standards-compliant with URI and URL RFC specs.
* Provide an API similar to Python 3's standard urllib.
* Be Python 2 and 3 compatible without relying on a compatibility library.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for jta.qsutil-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6113ab0ff7fd242b24f8157ec9f0635b2564941b8b1a77f38df4800c958a4e99 |
|
MD5 | 6a11b0d6e12460417290d842274af5b8 |
|
BLAKE2b-256 | a34dacfd62791e7c73f35ddb71391ddbce601bc1cef0b18b8628d1fcb800ef32 |