Skip to main content

multidict implementation

Project description

https://img.shields.io/pypi/v/multidict.svg https://readthedocs.org/projects/multidict/badge/?version=latest https://img.shields.io/travis-ci/com/aio-libs/multidict/master.svg https://img.shields.io/appveyor/ci/asvetlov/multidict/master.svg?label=Windows%20build%20%40%20Appveyor https://img.shields.io/pypi/pyversions/multidict.svg Coverage metrics Chat on Gitter

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

Introduction

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 collections.abc.Mapping interface.

Regular mutable (MultiDict and CIMultiDict) classes implement collections.abc.MutableMapping 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
True
>>> dct['Key']
'val'

Keys should be str or istr instances.

The library has optional Cython optimization for sake of speed.

License

Apache 2

Changelog

See RTD page.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

multidict-4.4.0a21.tar.gz (118.0 kB view details)

Uploaded Source

Built Distributions

multidict-4.4.0a21-cp37-cp37m-win_amd64.whl (162.1 kB view details)

Uploaded CPython 3.7m Windows x86-64

multidict-4.4.0a21-cp37-cp37m-win32.whl (152.8 kB view details)

Uploaded CPython 3.7m Windows x86

multidict-4.4.0a21-cp37-cp37m-manylinux1_x86_64.whl (389.2 kB view details)

Uploaded CPython 3.7m

multidict-4.4.0a21-cp37-cp37m-manylinux1_i686.whl (365.6 kB view details)

Uploaded CPython 3.7m

multidict-4.4.0a21-cp36-cp36m-win_amd64.whl (162.1 kB view details)

Uploaded CPython 3.6m Windows x86-64

multidict-4.4.0a21-cp36-cp36m-win32.whl (152.9 kB view details)

Uploaded CPython 3.6m Windows x86

multidict-4.4.0a21-cp36-cp36m-manylinux1_x86_64.whl (388.9 kB view details)

Uploaded CPython 3.6m

multidict-4.4.0a21-cp36-cp36m-manylinux1_i686.whl (364.6 kB view details)

Uploaded CPython 3.6m

multidict-4.4.0a21-cp35-cp35m-win_amd64.whl (161.1 kB view details)

Uploaded CPython 3.5m Windows x86-64

multidict-4.4.0a21-cp35-cp35m-win32.whl (151.8 kB view details)

Uploaded CPython 3.5m Windows x86

multidict-4.4.0a21-cp35-cp35m-manylinux1_x86_64.whl (381.1 kB view details)

Uploaded CPython 3.5m

multidict-4.4.0a21-cp35-cp35m-manylinux1_i686.whl (357.2 kB view details)

Uploaded CPython 3.5m

multidict-4.4.0a21-cp34-cp34m-win_amd64.whl (158.4 kB view details)

Uploaded CPython 3.4m Windows x86-64

multidict-4.4.0a21-cp34-cp34m-win32.whl (152.3 kB view details)

Uploaded CPython 3.4m Windows x86

multidict-4.4.0a21-cp34-cp34m-manylinux1_x86_64.whl (385.6 kB view details)

Uploaded CPython 3.4m

multidict-4.4.0a21-cp34-cp34m-manylinux1_i686.whl (361.4 kB view details)

Uploaded CPython 3.4m

File details

Details for the file multidict-4.4.0a21.tar.gz.

File metadata

  • Download URL: multidict-4.4.0a21.tar.gz
  • Upload date:
  • Size: 118.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for multidict-4.4.0a21.tar.gz
Algorithm Hash digest
SHA256 b60641bf15f12c6a534acc5335e775fa7b4b1f0129457812e30f25e02203f78d
MD5 792cc3eb4b64d6532bcfa3cd36a5514a
BLAKE2b-256 9bbaaf95e76d5ac973d36f9afdd4e208a68302a106dc04698788e74865dc01ba

See more details on using hashes here.

Provenance

File details

Details for the file multidict-4.4.0a21-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: multidict-4.4.0a21-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 162.1 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for multidict-4.4.0a21-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 35cbe963b78ed6f7381c318c45afbcbaf0029df2c29b713995b1c959a34ec38f
MD5 627c36b389f009f455e34ce365fb1b0b
BLAKE2b-256 fcf52d278a792edc860840b2e3902efe6f91d722e93bc4976b81d843734f3902

See more details on using hashes here.

Provenance

File details

Details for the file multidict-4.4.0a21-cp37-cp37m-win32.whl.

File metadata

  • Download URL: multidict-4.4.0a21-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 152.8 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.7.0

File hashes

Hashes for multidict-4.4.0a21-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 c2862f8f14d3a40a2d55382b03758eb7d06a2dc7cab80520281b9f7038c93140
MD5 25428c9685e7771242a718ed64a56341
BLAKE2b-256 1e6c286cfe0bca2b4b09fac9b4932b5dd5947520f565a8fd951e923a0fe34e29

See more details on using hashes here.

Provenance

File details

Details for the file multidict-4.4.0a21-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: multidict-4.4.0a21-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 389.2 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for multidict-4.4.0a21-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 651ee99e80475a5de93392500fbcca67505d39a7f18e7a8a08e4e57a6822e4e0
MD5 d3c0750abd8003db28207bd26c5b3b7b
BLAKE2b-256 08d2d06bf712a92185b261f1495e42fcb7430d8fd1ebcb49fdc2a9c89b4e1a2a

See more details on using hashes here.

Provenance

File details

Details for the file multidict-4.4.0a21-cp37-cp37m-manylinux1_i686.whl.

File metadata

  • Download URL: multidict-4.4.0a21-cp37-cp37m-manylinux1_i686.whl
  • Upload date:
  • Size: 365.6 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for multidict-4.4.0a21-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 59608d73f6361ce060e95a4442970f09903b61c0371d73de9c959de5fc2ee144
MD5 6fc105da49c01ea1234f3dc2441f8d0a
BLAKE2b-256 b22c38e036d4cce858817e9f4293227f28e3f323a5dc2b1f833d18a4cc9e5f58

See more details on using hashes here.

Provenance

File details

Details for the file multidict-4.4.0a21-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: multidict-4.4.0a21-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 162.1 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6

File hashes

Hashes for multidict-4.4.0a21-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 c507f59f49be31fd079b8eed6feab7ae8e9fe24a1804e37210e36977c8fd784d
MD5 0adbc5ed6a5c076dbb494aa865fa98a9
BLAKE2b-256 04783cc5f1e78d10f7e476912aabc1c7cc4b9a8c302ad41df3130648a0da6fdb

See more details on using hashes here.

Provenance

File details

Details for the file multidict-4.4.0a21-cp36-cp36m-win32.whl.

File metadata

  • Download URL: multidict-4.4.0a21-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 152.9 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.6

File hashes

Hashes for multidict-4.4.0a21-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 a8c80ca4fec4e2aa71af8e09758419ed78c0021b87ef0934f42c09ab002adbd8
MD5 d0a0b8a6ca4ca53e90e79b209f5e8737
BLAKE2b-256 8f291c02b903a43c398867f32ce77527df7e4456c1774b665f38e0a1f58264c4

See more details on using hashes here.

Provenance

File details

Details for the file multidict-4.4.0a21-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: multidict-4.4.0a21-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 388.9 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for multidict-4.4.0a21-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a975869dfd62f2250f72ae7ef6b5823c642eda2e7537752780ed07312ee20e11
MD5 d9cbaae455174a7e3d3f4418ab12a424
BLAKE2b-256 2e0d9c0c278f9c2865706c8141c955eb0f196e4c547d2c92289d2305b5b1e0aa

See more details on using hashes here.

Provenance

File details

Details for the file multidict-4.4.0a21-cp36-cp36m-manylinux1_i686.whl.

File metadata

  • Download URL: multidict-4.4.0a21-cp36-cp36m-manylinux1_i686.whl
  • Upload date:
  • Size: 364.6 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for multidict-4.4.0a21-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 cdc601d61d4b3c5e4654de9607fd4f206c50abbb6f22b0cf43c303a46f0b95ad
MD5 c8c62d9c46bd8bca3529e281fa7fafa3
BLAKE2b-256 aaee074c3c3a0228c55f34da0d93b1bffca09ff63ba5da633fc70a64801f8854

See more details on using hashes here.

Provenance

File details

Details for the file multidict-4.4.0a21-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: multidict-4.4.0a21-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 161.1 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.3

File hashes

Hashes for multidict-4.4.0a21-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 6d53098a05e81d1824e18caf1f9e17223e6bffe68de95e3dd82a85317540149b
MD5 47e66586119f07814cedafdba0aa6466
BLAKE2b-256 19a6b169f0b8d9a03938cdc8f1d328635e82e648730723ae7162ad634b3fd95d

See more details on using hashes here.

Provenance

File details

Details for the file multidict-4.4.0a21-cp35-cp35m-win32.whl.

File metadata

  • Download URL: multidict-4.4.0a21-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 151.8 kB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.5.3

File hashes

Hashes for multidict-4.4.0a21-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 9af991140a05887250c60a7bcdbf08cdd92bb5b912af3c57688de104341ced48
MD5 5355504f45d2b230fa7eb029a1d61382
BLAKE2b-256 b3822db9de64e317a909e48c8daace6191d7925467eecd2465e238d6775a4e32

See more details on using hashes here.

Provenance

File details

Details for the file multidict-4.4.0a21-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

  • Download URL: multidict-4.4.0a21-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 381.1 kB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for multidict-4.4.0a21-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b10cecd72b8b364bbd951af6f4a0d44dd85dfe55f79140ecbfd1eb21c6106048
MD5 dc50c7e8a104716ff1251b564fae8910
BLAKE2b-256 0104dbbfc0bb73cd6d33569f277bb10e5574278e951a2a1ecaddf1063f286660

See more details on using hashes here.

Provenance

File details

Details for the file multidict-4.4.0a21-cp35-cp35m-manylinux1_i686.whl.

File metadata

  • Download URL: multidict-4.4.0a21-cp35-cp35m-manylinux1_i686.whl
  • Upload date:
  • Size: 357.2 kB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for multidict-4.4.0a21-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 7340773b89c7658ecb25a613183a7a5cb689c448cc95e1d473d5960fbcb31767
MD5 12268624674956cc82a06f42c4cc4220
BLAKE2b-256 e6379e2a85521d0f7501c4205ad103647ff13a81d187bbce1cf70541436ac0f1

See more details on using hashes here.

Provenance

File details

Details for the file multidict-4.4.0a21-cp34-cp34m-win_amd64.whl.

File metadata

  • Download URL: multidict-4.4.0a21-cp34-cp34m-win_amd64.whl
  • Upload date:
  • Size: 158.4 kB
  • Tags: CPython 3.4m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.4.4

File hashes

Hashes for multidict-4.4.0a21-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 f83fd1d8959bf8165f06dc26b51b0475c2673337d9fcb26f6eb4eccf4638e13f
MD5 845700d83e3d9de5fdedd642edf19050
BLAKE2b-256 aa5481ab37319aaf6e285665588f6c32d47f579588a1abc78737f7243ec96faa

See more details on using hashes here.

Provenance

File details

Details for the file multidict-4.4.0a21-cp34-cp34m-win32.whl.

File metadata

  • Download URL: multidict-4.4.0a21-cp34-cp34m-win32.whl
  • Upload date:
  • Size: 152.3 kB
  • Tags: CPython 3.4m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.4.4

File hashes

Hashes for multidict-4.4.0a21-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 1d9cf56c77b2d3ccaa8aa26ddad3dec0ba003eec6f21c2d3a93201ae5e753673
MD5 9d3ff1e84b54141fb8a92c35a30c431b
BLAKE2b-256 41adf23522662b91d6a48ae645e7b2ffb77842b60da00acc2863291d31b95730

See more details on using hashes here.

Provenance

File details

Details for the file multidict-4.4.0a21-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

  • Download URL: multidict-4.4.0a21-cp34-cp34m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 385.6 kB
  • Tags: CPython 3.4m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for multidict-4.4.0a21-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 a56670a7e24b651b26a628cf56569fb4ec64c433732e479399fc26b79a21cf67
MD5 81641cfa4aef93e8c630040d3ab8f189
BLAKE2b-256 1ea0de9346f354f63b972d4b6b092372b7d6ec355c6b2661685432380f374b95

See more details on using hashes here.

Provenance

File details

Details for the file multidict-4.4.0a21-cp34-cp34m-manylinux1_i686.whl.

File metadata

  • Download URL: multidict-4.4.0a21-cp34-cp34m-manylinux1_i686.whl
  • Upload date:
  • Size: 361.4 kB
  • Tags: CPython 3.4m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.3

File hashes

Hashes for multidict-4.4.0a21-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 0ee4eca43c2d249b1d56eb574786233bf47e01e4edf87af715c5eeabb3046cae
MD5 100b4572ec90ea7a25610d453588c77e
BLAKE2b-256 714c6030d1a3a589f57a485803ece66b13ce989c38bbfea0d72505bb301a2a5a

See more details on using hashes here.

Provenance

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