Skip to main content

Urlencode a multidimensional dict

Project description

multidimensional_urlencode

Python library to urlencode a multidimensional dict.

https://travis-ci.org/uber/multidimensional_urlencode.png?branch=master

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

Documentation can be found here

Authors

License

Available under the MIT License.

Copyright Uber 2017

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

multidimensional_urlencode-0.0.4.tar.gz (3.3 kB view details)

Uploaded Source

File details

Details for the file multidimensional_urlencode-0.0.4.tar.gz.

File metadata

File hashes

Hashes for multidimensional_urlencode-0.0.4.tar.gz
Algorithm Hash digest
SHA256 e385afb20ef9572ca7d6f9140b37bd907b78a1bc8d58a87636c857c8c0fb3284
MD5 9e0995769e10bb242606eee5855d9046
BLAKE2b-256 afce8ef5d4ff828c78093f3b0d00167460e7d834e95c228fd2c8f56fc2e646c5

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