skip to navigation
skip to content

multidict 4.0.0

multidict implementation

Multidict is dict-like collection of key-value pairs where key might be occurred more than once in the container.


HTTP Headers and URL query string require specific data structure: multidict. It behaves mostly like a regular dict but it may have several values for the same key and preserves insertion ordering.

The key is str (or istr for case-insensitive dictionaries).

multidict has four multidict classes: MultiDict, MultiDictProxy, CIMultiDict and CIMultiDictProxy.

Immutable proxies (MultiDictProxy and CIMultiDictProxy) provide a dynamic view for the proxied multidict, the view reflects underlying collection changes. They implement the interface.

Regular mutable (MultiDict and CIMultiDict) classes implement and allows to change their own content.

Case insensitive (CIMultiDict and CIMultiDictProxy) ones assume the keys are case insensitive, e.g.:

>>> dct = CIMultiDict(key='val')
>>> 'Key' in dct
>>> dct['Key']

Keys should be str or istr instances.

The library has optional Cython optimization for sake of speed.


Apache 2


See RTD page.

File Type Py Version Uploaded on Size
multidict-4.0.0-cp34-cp34m-macosx_10_10_x86_64.whl (md5) Python Wheel cp34 2018-01-16 204KB
multidict-4.0.0-cp34-cp34m-macosx_10_11_x86_64.whl (md5) Python Wheel cp34 2018-01-15 203KB
multidict-4.0.0-cp34-cp34m-macosx_10_12_x86_64.whl (md5) Python Wheel cp34 2018-01-16 200KB
multidict-4.0.0-cp34-cp34m-manylinux1_i686.whl (md5) Python Wheel cp34 2018-01-15 436KB
multidict-4.0.0-cp34-cp34m-manylinux1_x86_64.whl (md5) Python Wheel cp34 2018-01-15 467KB
multidict-4.0.0-cp34-cp34m-win32.whl (md5) Python Wheel cp34 2018-01-14 174KB
multidict-4.0.0-cp34-cp34m-win_amd64.whl (md5) Python Wheel cp34 2018-01-14 184KB
multidict-4.0.0-cp35-cp35m-macosx_10_10_x86_64.whl (md5) Python Wheel cp35 2018-01-15 203KB
multidict-4.0.0-cp35-cp35m-macosx_10_11_x86_64.whl (md5) Python Wheel cp35 2018-01-16 202KB
multidict-4.0.0-cp35-cp35m-macosx_10_12_x86_64.whl (md5) Python Wheel cp35 2018-01-16 196KB
multidict-4.0.0-cp35-cp35m-manylinux1_i686.whl (md5) Python Wheel cp35 2018-01-15 431KB
multidict-4.0.0-cp35-cp35m-manylinux1_x86_64.whl (md5) Python Wheel cp35 2018-01-15 460KB
multidict-4.0.0-cp35-cp35m-win32.whl (md5) Python Wheel cp35 2018-01-14 174KB
multidict-4.0.0-cp35-cp35m-win_amd64.whl (md5) Python Wheel cp35 2018-01-14 188KB
multidict-4.0.0-cp36-cp36m-macosx_10_10_x86_64.whl (md5) Python Wheel cp36 2018-01-15 205KB
multidict-4.0.0-cp36-cp36m-macosx_10_12_x86_64.whl (md5) Python Wheel cp36 2018-01-16 196KB
multidict-4.0.0-cp36-cp36m-manylinux1_i686.whl (md5) Python Wheel cp36 2018-01-15 439KB
multidict-4.0.0-cp36-cp36m-manylinux1_x86_64.whl (md5) Python Wheel cp36 2018-01-15 470KB
multidict-4.0.0-cp36-cp36m-win32.whl (md5) Python Wheel cp36 2018-01-14 175KB
multidict-4.0.0-cp36-cp36m-win_amd64.whl (md5) Python Wheel cp36 2018-01-14 189KB
multidict-4.0.0.tar.gz (md5) Source 2018-01-14 131KB