udemy / multidimensional_urlencode

Python library to urlencode a multidimensional dict

Home Page:http://multidimensional-urlencode.readthedocs.org/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Python library to urlencode a multidimensional dict

http://multidimensional-urlencode.readthedocs.org/en/latest/

License:MIT License


Languages

Language:Python 88.3%Language:Makefile 11.7%