multidimensional_urlencode
Python library to urlencode a multidimensional dict.
Quick Start
multidimensional_urlencode lets you url encode a multidimensional dict:
>>> try:
... from urllib.parse import unquote
... except:
... from urllib import unquote
>>> from multidimensional_urlencode import urlencode
>>> e = urlencode({"a": {"b": {"c": [1, 2, 3], "d": "e"}}})
>>> unquote(e)
'a[b][c][]=1&a[b][c][]=2&a[b][c][]=3&a[b][d]=e'
Documentation
License
Available under the MIT License.
Copyright Uber 2017
Release files for multidimensional_urlencode 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| multidimensional_urlencode-0.0.4.tar.gz | 3.3 kB | Details |
Release files / multidimensional_urlencode-0.0.4.tar.gz
| Download URL | multidimensional_urlencode-0.0.4.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e385afb20ef9572ca7d6f9140b37bd907b78a1bc8d58a87636c857c8c0fb3284
|
|
BLAKE2b-256 checksum How to use checksums |
afce8ef5d4ff828c78093f3b0d00167460e7d834e95c228fd2c8f56fc2e646c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |