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:

>>> import urllib
>>> from multidimensional_urlencode import urlencode
>>> e = urlencode({"a": {"b": {"c": [1, 2, 3], "d": "e"}}})
>>> urllib.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 2013

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.3.zip (7.5 kB view hashes)

Uploaded Source

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