Python library to urlencode a multidimensional dict
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][0]=1&a[b][c][1]=2&a[b][c][2]=3&a[b][d]=e'
Documentation can be found here
- Sam Marcellus <[email protected]>
- Charles-Axel Dein <[email protected]>
Available under the MIT License.
Copyright Uber 2013