Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uber/multidimensional_urlencode
Python library to urlencode a multidimensional dict
https://github.com/uber/multidimensional_urlencode
Last synced: 3 months ago
JSON representation
Python library to urlencode a multidimensional dict
- Host: GitHub
- URL: https://github.com/uber/multidimensional_urlencode
- Owner: uber
- License: mit
- Created: 2013-09-10T05:29:22.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2019-07-30T18:26:50.000Z (over 5 years ago)
- Last Synced: 2024-07-31T14:48:54.169Z (3 months ago)
- Language: Python
- Homepage: http://multidimensional-urlencode.readthedocs.org/en/latest/
- Size: 39.1 KB
- Stars: 67
- Watchers: 2,720
- Forks: 17
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - multidimensional_urlencode - Python library to urlencode a multidimensional dict (Python)
README
multidimensional_urlencode
==========================Python library to urlencode a multidimensional dict.
.. image:: https://travis-ci.org/uber/multidimensional_urlencode.png?branch=master
:target: https://travis-ci.org/uber/multidimensional_urlencodeQuick Start
===========multidimensional_urlencode lets you url encode a multidimensional dict:
.. code-block:: python
>>> 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
=======* Sam Marcellus
* Charles-Axel DeinLicense
=======Available under the MIT License.
Copyright Uber 2017