Skip to main content

multidict implementation

Project description

Azure Pipelines status for master branch Coverage metrics PyPI Documentationb Python versions 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.6.1.tar.gz (115.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

multidict-4.6.1-cp38-cp38-win_amd64.whl (157.6 kB view details)

Uploaded CPython 3.8Windows x86-64

multidict-4.6.1-cp38-cp38-win32.whl (149.0 kB view details)

Uploaded CPython 3.8Windows x86

multidict-4.6.1-cp38-cp38-manylinux1_x86_64.whl (366.3 kB view details)

Uploaded CPython 3.8

multidict-4.6.1-cp38-cp38-macosx_10_13_x86_64.whl (162.4 kB view details)

Uploaded CPython 3.8macOS 10.13+ x86-64

multidict-4.6.1-cp37-cp37m-win_amd64.whl (156.2 kB view details)

Uploaded CPython 3.7mWindows x86-64

multidict-4.6.1-cp37-cp37m-win32.whl (147.5 kB view details)

Uploaded CPython 3.7mWindows x86

multidict-4.6.1-cp37-cp37m-manylinux1_x86_64.whl (346.7 kB view details)

Uploaded CPython 3.7m

multidict-4.6.1-cp37-cp37m-macosx_10_13_x86_64.whl (161.1 kB view details)

Uploaded CPython 3.7mmacOS 10.13+ x86-64

multidict-4.6.1-cp36-cp36m-win_amd64.whl (165.1 kB view details)

Uploaded CPython 3.6mWindows x86-64

multidict-4.6.1-cp36-cp36m-win32.whl (157.5 kB view details)

Uploaded CPython 3.6mWindows x86

multidict-4.6.1-cp36-cp36m-manylinux1_x86_64.whl (349.0 kB view details)

Uploaded CPython 3.6m

multidict-4.6.1-cp36-cp36m-macosx_10_13_x86_64.whl (162.9 kB view details)

Uploaded CPython 3.6mmacOS 10.13+ x86-64

multidict-4.6.1-cp35-cp35m-win_amd64.whl (154.7 kB view details)

Uploaded CPython 3.5mWindows x86-64

multidict-4.6.1-cp35-cp35m-win32.whl (146.2 kB view details)

Uploaded CPython 3.5mWindows x86

multidict-4.6.1-cp35-cp35m-manylinux1_x86_64.whl (343.1 kB view details)

Uploaded CPython 3.5m

multidict-4.6.1-cp35-cp35m-macosx_10_13_x86_64.whl (160.8 kB view details)

Uploaded CPython 3.5mmacOS 10.13+ x86-64

File details

Details for the file multidict-4.6.1.tar.gz.

File metadata

  • Download URL: multidict-4.6.1.tar.gz
  • Upload date:
  • Size: 115.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for multidict-4.6.1.tar.gz
Algorithm Hash digest
SHA256 5159c4975931a1a78bf6602bbebaa366747fce0a56cb2111f44789d2c45e379f
MD5 bee3828781685758410fa0fbcda8c88e
BLAKE2b-256 8a7461547af55c077b8d2e3648c2af74c08fa1e382665b290468db7ba54db2ea

See more details on using hashes here.

File details

Details for the file multidict-4.6.1-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: multidict-4.6.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 157.6 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for multidict-4.6.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 c626029841ada34c030b94a00c573a0c7575fe66489cde148785b6535397d675
MD5 4db41322082f8ebf4cccdca49db20b81
BLAKE2b-256 e9f63a0666bbd151491129c1cc958b3313dbef9d32e8e64b7f00428fd3b2323b

See more details on using hashes here.

File details

Details for the file multidict-4.6.1-cp38-cp38-win32.whl.

File metadata

  • Download URL: multidict-4.6.1-cp38-cp38-win32.whl
  • Upload date:
  • Size: 149.0 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for multidict-4.6.1-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 87e26d8b89127c25659e962c61a4c655ec7445d19150daea0759516884ecb8b4
MD5 3d4ce037942ce10b2478392e3310f212
BLAKE2b-256 5740cd17ff30035f4d2c37b23cc5b1314370c63c2cd41dc94e7da0b1eeade306

See more details on using hashes here.

File details

Details for the file multidict-4.6.1-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: multidict-4.6.1-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 366.3 kB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for multidict-4.6.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0ffe4d4d28cbe9801952bfb52a8095dd9ffecebd93f84bdf973c76300de783c5
MD5 42c4bf7f28aa1be25dbe75842ffc8b94
BLAKE2b-256 20b34031c18ff3ecb72147d08ac9e72e6924ea7c784f221c6d4dbcd8bdb79a74

See more details on using hashes here.

File details

Details for the file multidict-4.6.1-cp38-cp38-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: multidict-4.6.1-cp38-cp38-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 162.4 kB
  • Tags: CPython 3.8, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for multidict-4.6.1-cp38-cp38-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 2bc9c2579312c68a3552ee816311c8da76412e6f6a9cf33b15152e385a572d2a
MD5 0d35831423e72e02528e2aaf88575308
BLAKE2b-256 118dabed4a2130269445912dd9f65d69897fc6d317d2f096a7f02dde63fe2f23

See more details on using hashes here.

File details

Details for the file multidict-4.6.1-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: multidict-4.6.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 156.2 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for multidict-4.6.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 250632316295f2311e1ed43e6b26a63b0216b866b45c11441886ac1543ca96e1
MD5 4033aae05c1fa13e49d43b487235ddff
BLAKE2b-256 463dd67826b380060dd28b2efc4eb2b06f285e9884900d1d128e287a8a7270be

See more details on using hashes here.

File details

Details for the file multidict-4.6.1-cp37-cp37m-win32.whl.

File metadata

  • Download URL: multidict-4.6.1-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 147.5 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for multidict-4.6.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 891b7e142885e17a894d9d22b0349b92bb2da4769b4e675665d0331c08719be5
MD5 5acd7aae6f41fcef5b411ac86c307c8c
BLAKE2b-256 ffd78d3aeccdf13cdfa5d0929235e79cad1f3b139d3ae6be80a2f16dd804bdcc

See more details on using hashes here.

File details

Details for the file multidict-4.6.1-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: multidict-4.6.1-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 346.7 kB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for multidict-4.6.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 1b605272c558e4c659dbaf0fb32a53bfede44121bcf77b356e6e906867b958b7
MD5 f21b06876b96592ed63da08c112a7ca9
BLAKE2b-256 7f650b315b130d1f234183bba558192536d84293e1b8b9ce6d149b3c8507974c

See more details on using hashes here.

File details

Details for the file multidict-4.6.1-cp37-cp37m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: multidict-4.6.1-cp37-cp37m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 161.1 kB
  • Tags: CPython 3.7m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for multidict-4.6.1-cp37-cp37m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 a37433ce8cdb35fc9e6e47e1606fa1bfd6d70440879038dca7d8dd023197eaa9
MD5 c22b1d218a8d3ec228dd2691e1dd1d2f
BLAKE2b-256 b984ba63d7278b00fc6596f5950ceb0759ae4edf974b8441f7c06e5b08b2488e

See more details on using hashes here.

File details

Details for the file multidict-4.6.1-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: multidict-4.6.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 165.1 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for multidict-4.6.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 8d919034420378132d074bf89df148d0193e9780c9fe7c0e495e895b8af4d8a2
MD5 8eb61ed66d7ee9f172795d836d084c92
BLAKE2b-256 16a89a66b2af305bd2cd52d8d0add3c1592b1fc4c21a31fe4d313608a8fea158

See more details on using hashes here.

File details

Details for the file multidict-4.6.1-cp36-cp36m-win32.whl.

File metadata

  • Download URL: multidict-4.6.1-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 157.5 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for multidict-4.6.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 cfec9d001a83dc73580143f3c77e898cf7ad78b27bb5e64dbe9652668fcafec7
MD5 62ca8866b5934777bec39e8297a06f52
BLAKE2b-256 8288ba10701ad030bbe49b2fc291bd8dd4920f601e9b150574d56ea168379829

See more details on using hashes here.

File details

Details for the file multidict-4.6.1-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: multidict-4.6.1-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 349.0 kB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for multidict-4.6.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 205a011e636d885af6dd0029e41e3514a46e05bb2a43251a619a6e8348b96fc0
MD5 c3f14da51ce87c75d123f18870832643
BLAKE2b-256 7dcf73e67511d9cd60b1d11eab9361c949a209bbb9c742f2ccf59e5e8cd1d686

See more details on using hashes here.

File details

Details for the file multidict-4.6.1-cp36-cp36m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: multidict-4.6.1-cp36-cp36m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 162.9 kB
  • Tags: CPython 3.6m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for multidict-4.6.1-cp36-cp36m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 42cdd649741a14b0602bf15985cad0dd4696a380081a3319cd1ead46fd0f0fab
MD5 e968c2a8caf881e07cabc276eb930b06
BLAKE2b-256 e983f554ed92b39742bff2e2290debe852afafd433295000ed4343a337a59023

See more details on using hashes here.

File details

Details for the file multidict-4.6.1-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: multidict-4.6.1-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 154.7 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for multidict-4.6.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 07f9a6bf75ad675d53956b2c6a2d4ef2fa63132f33ecc99e9c24cf93beb0d10b
MD5 1f237253eab9d2eee2340278324a206a
BLAKE2b-256 318d3ea22d88e8ca49e7c1b5f9ab7d8c2bb66b14c5bea1e4d698c6901ed8cfc1

See more details on using hashes here.

File details

Details for the file multidict-4.6.1-cp35-cp35m-win32.whl.

File metadata

  • Download URL: multidict-4.6.1-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 146.2 kB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for multidict-4.6.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 efaf1b18ea6c1f577b1371c0159edbe4749558bfe983e13aa24d0a0c01e1ad7b
MD5 ffd3125799ec0978de7580e26d5e5b3c
BLAKE2b-256 7049fb0908ae375a708e687b12bf7a31b9dd9b3160905238abe05b3da6859dc7

See more details on using hashes here.

File details

Details for the file multidict-4.6.1-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

  • Download URL: multidict-4.6.1-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 343.1 kB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for multidict-4.6.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 9c890978e2b37dd0dc1bd952da9a5d9f245d4807bee33e3517e4119c48d66f8c
MD5 84be2f944a4e121a35143700f987057c
BLAKE2b-256 b76a6947675497af88cf686c5e14e9253a2d2b877ea05829da00e45d9ade398c

See more details on using hashes here.

File details

Details for the file multidict-4.6.1-cp35-cp35m-macosx_10_13_x86_64.whl.

File metadata

  • Download URL: multidict-4.6.1-cp35-cp35m-macosx_10_13_x86_64.whl
  • Upload date:
  • Size: 160.8 kB
  • Tags: CPython 3.5m, macOS 10.13+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5

File hashes

Hashes for multidict-4.6.1-cp35-cp35m-macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 318aadf1cfb6741c555c7dd83d94f746dc95989f4f106b25b8a83dfb547f2756
MD5 8dcf1c1c206185e6fa748d0e448d8742
BLAKE2b-256 92aef935393076fd6840eaa930e6f620d94e1c21aecccf566ea30d3295d1cb9f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page