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.0a24.tar.gz (118.0 kB view details)

Uploaded Source

Built Distributions

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

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m Windows x86

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

Uploaded CPython 3.7m

multidict-4.4.0a24-cp37-cp37m-manylinux1_i686.whl (365.5 kB view details)

Uploaded CPython 3.7m

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

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m Windows x86

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.5m Windows x86-64

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

Uploaded CPython 3.5m Windows x86

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.4m Windows x86-64

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

Uploaded CPython 3.4m Windows x86

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

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m

File details

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

File metadata

  • Download URL: multidict-4.4.0a24.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.0a24.tar.gz
Algorithm Hash digest
SHA256 999efe6787171370b37badb00a34e7e8dca481fa560404acd44e3f7780ef6639
MD5 2cb9051034b89d0315cfe5481d0fc2d8
BLAKE2b-256 64e3361b5519416ec9255af1e47fb4c2e174ed7768ff6032ead10cc720a94890

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a24-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.0a24-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 679d5789a1e5f5abc47db75413aef74264f979b6fa0cddc71eea4d2fda036ce3
MD5 a12669feae60eb3ffc3fbe72ed745fdb
BLAKE2b-256 823c148cbd67874b88f2bebdad60748164f6fba0243c7ae4c9436659602c74c4

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a24-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.0a24-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 cb9a6da979e754f133f877a92dc7844963c6afe8c118eea13596489445fca067
MD5 4dc257615ede8fdb15cc8eee497bc543
BLAKE2b-256 c34d5600342ee73bca9e3c019719e9f38b23ea965b9e442c73b2ec1ffea35785

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a24-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.0a24-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 41b0119418b35c79d3b20a087126b23b5bf6a4a7ea9e4c008dc4edabb6ab287b
MD5 33e50ab5c3ca1de966073c43dfc70e36
BLAKE2b-256 be7c0e7ac5ffa8186bdb5dc05ae216e9f50797f32a7bbf3ecff04a0af42cb7ab

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a24-cp37-cp37m-manylinux1_i686.whl
  • Upload date:
  • Size: 365.5 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.0a24-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 623ace8f73c175151e54c763801ba837ba118a06aaae6927111bb4e445d8aef0
MD5 432b8923968b112b14d7853b14631f34
BLAKE2b-256 b871afe13b9b396e04409b23cf1087952119d9b14e511fea4236be65286e3b3c

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a24-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.0a24-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 8fff75b55e94242b1d106464197345c1e3edc20db78d7b874877cc4d88ddb98b
MD5 51e3b3a4eb444769c7946e9b7de5dc27
BLAKE2b-256 0e51eb73ca1d39c8cbcaf229a730fd9ff00ea08feb682b61498b2a3b6dd0ab3a

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a24-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.0a24-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 13b8f9259ca665bf048ddc2909fed36a5d6f1b504c77408ac0df1ea896216af3
MD5 573800eaffdf0c3e74063476905013b1
BLAKE2b-256 b6d1a52237e6523e6c6c21201234ab16ba6335c1e3fca5a7bc3980641a5efd02

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a24-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.0a24-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 2107651466fbdf8d0c742314ac02926e84b0d30e3e2332eeabe0a7811af2217c
MD5 0e960a80104a0c71eb867b268870801a
BLAKE2b-256 52f961462bb94622683902528e2b58ff0a88e7f6b802ae425588e5942e3c52c0

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a24-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.0a24-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 a8ad93211f0dd6aa731289fbbc848dc61f42c86f8f3332e372771dce3afeaa61
MD5 dff97edee53db899237fcb56891b3734
BLAKE2b-256 7f5a81090b2d57099999592b97bd8930f75b207de1ce7111624dbe27f1721042

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a24-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.0a24-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 94b99116e43ef23483ea9507e79bffbe90f6149b76312a4a1f77322306bf7863
MD5 53220707776caf2601d2fbb8dbf4a40b
BLAKE2b-256 8416e039abc6d5d5b7eb130d8f211480ea30d8948f57e98024dd1f2a9f2c77ef

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a24-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.0a24-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 5b59d382414f123d0cf097203fb16683d5ff5251956c2724ecac7cd394c5ca3c
MD5 b0124ceea3358fee3cd5cba30f4e0fdb
BLAKE2b-256 b28134815226dfc4642f06a5d23d99f280874533c139e912cfd2ad52bc83bf94

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a24-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.0a24-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 696d3017581c2e95b68c11dcc68bc32d5a18971a0a81c6719a98c68e8d35db71
MD5 b59e173e7b793b40127eef3845913da7
BLAKE2b-256 22ccd729c63151271113f0d973ed605f06acaf6e52146e466b52b5505c88a7ca

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a24-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.0a24-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 73db1d94858f87b786ffbe9a18e648c0483faf755f023461d9bd4841c108f9a7
MD5 94ac728074f531f27997d48f04057b1f
BLAKE2b-256 71aa53a99981f203e9c22d9942372b6d6a3d33856c3b44d5184400a9a0673861

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a24-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.0a24-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 3fcb59ffc98c9b7a8b575fe07210651011e28ae50d0b369c2f266a70a6dafe96
MD5 824cadc17be444eb659f38de286a6af6
BLAKE2b-256 88d94b0c7030f141cb31206b498c93989d2ed341df09ba29f0b948094b5fbea1

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a24-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.0a24-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 335a055041c412eb0aaabfda9c4bd6887f54b2592ddc71262c5aeb41b0396204
MD5 3b3e8a13548a24cf7c65cfa32286656a
BLAKE2b-256 fad41bc1211c27184478568c580a1a5a5f803496d3c90a3c8b309c5fa3cc0610

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a24-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.0a24-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 6162b09012a5ea8f7c01cb706a4ba1c05eeb45b5cab45b34f178d94e2aa103a8
MD5 6935a6d9471e8b07b6b2896c08b14203
BLAKE2b-256 66cd02eed7a3d4baecdd384918247bb142eaeaeac4baf87ecb115599c2721f60

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a24-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.0a24-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 c204714b16c07164cd6c70b09761fb0aa862a64a88d3dcee823f75e373aa7097
MD5 5fb24fe0a53ba9f2b681a5353fe8e89f
BLAKE2b-256 ce1e9f30bed94f9efbe65d929a768e14fff2d127a3c6af59599bd8f3acfbcb3e

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