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

Uploaded Source

Built Distributions

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

Uploaded CPython 3.7m Windows x86-64

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

Uploaded CPython 3.7m Windows x86

multidict-4.4.0a28-cp37-cp37m-manylinux1_x86_64.whl (389.3 kB view details)

Uploaded CPython 3.7m

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

Uploaded CPython 3.7m

multidict-4.4.0a28-cp37-cp37m-macosx_10_6_intel.macosx_10_9_x86_64.macosx_10_10_x86_64.macosx_10_11_x86_64.macosx_10_12_x86_64.macosx_10_13_x86_64.whl (246.6 kB view details)

Uploaded CPython 3.7m macOS 10.10+ x86-64 macOS 10.11+ x86-64 macOS 10.12+ x86-64 macOS 10.13+ x86-64 macOS 10.6+ intel macOS 10.9+ x86-64

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

Uploaded CPython 3.6m Windows x86-64

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

Uploaded CPython 3.6m Windows x86

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

Uploaded CPython 3.6m

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

Uploaded CPython 3.6m

multidict-4.4.0a28-cp36-cp36m-macosx_10_6_intel.macosx_10_9_x86_64.macosx_10_10_x86_64.macosx_10_11_x86_64.macosx_10_12_x86_64.macosx_10_13_x86_64.whl (246.2 kB view details)

Uploaded CPython 3.6m macOS 10.10+ x86-64 macOS 10.11+ x86-64 macOS 10.12+ x86-64 macOS 10.13+ x86-64 macOS 10.6+ intel macOS 10.9+ x86-64

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

Uploaded CPython 3.5m Windows x86-64

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

Uploaded CPython 3.5m Windows x86

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.5m

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

Uploaded CPython 3.4m Windows x86-64

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

Uploaded CPython 3.4m Windows x86

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

Uploaded CPython 3.4m

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

Uploaded CPython 3.4m

File details

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

File metadata

  • Download URL: multidict-4.4.0a28.tar.gz
  • Upload date:
  • Size: 118.2 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.0a28.tar.gz
Algorithm Hash digest
SHA256 25fdc49cbd8242c4d0186f231bca190d59d53ef51efe7096ee1747d4c6e73e0c
MD5 bb2fd21ada223aa4108d9b498ad7be82
BLAKE2b-256 e5e4447d1a86406fd5489047e55a18797e8b43974a443eaf51e44f4f369582e6

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a28-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.0a28-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 aae7e7a58be28d13a2e9831c778897e580696c92fd2afe0c3fa2dcf11f5d9177
MD5 090a99199bbe93bdfc790137f2868d47
BLAKE2b-256 7d08d4b846c2e771b71da8ab609561259a76c1d5c8cfc2018801f3b7bb1bc304

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a28-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.0a28-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 1b619a9d969e82f83bf3fc5f844d9a4353d8af05dbeae62b830400ad5db6a5c5
MD5 8df637e10deacd7b111053df638cde21
BLAKE2b-256 75c06198d9bdc636ef9bb7bcd5ec842b46d7a18d432a52dd195981ac5bf89a00

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a28-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 389.3 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.0a28-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 23f5fbc8cb223f347d77fb3e042329ea69b7d38fadb1ec75f194f13a58b35bf0
MD5 2d1fccf20c57372981f966c619682c5d
BLAKE2b-256 50931db442861203d05e23a6b0365a5733c02431477df4b9f9a4e04d03a583aa

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a28-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.0a28-cp37-cp37m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 784bc3526007eff244c40ba65456acdda62fba0a825fdbde61a023b5f9fdb09d
MD5 50f537bf78fcc4a1e4de54871cb29ae7
BLAKE2b-256 388f82f10f393e4e3e2564f073f30b2df15412fa6cb6f2c9466f912f7b4b4347

See more details on using hashes here.

Provenance

File details

Details for the file multidict-4.4.0a28-cp37-cp37m-macosx_10_6_intel.macosx_10_9_x86_64.macosx_10_10_x86_64.macosx_10_11_x86_64.macosx_10_12_x86_64.macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for multidict-4.4.0a28-cp37-cp37m-macosx_10_6_intel.macosx_10_9_x86_64.macosx_10_10_x86_64.macosx_10_11_x86_64.macosx_10_12_x86_64.macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 cd9a18bb1c4c5800c3139a86b694467eda5a2d1de06044368cb1e012b2a9cdc1
MD5 1bb3f2a1c71329b82f54101734c7b21d
BLAKE2b-256 527fbc4ce980e316563ff1423a0331b11b5cd8e071b1d9d2e26245996a417612

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a28-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.0a28-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 e44fb89a3a808c2ae911955bf6fe53eccfcbb66d714a54ef0997c2892550182e
MD5 bfb9ff71288e8d1f1ac5fd78e35ab8fd
BLAKE2b-256 7b47d7b92fa25b2228e972996814ef50526a09af195901d2fa8bc41732acdcc2

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a28-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.0a28-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 a0e8fe688159d77cf828ffe0bc645d339ca8bd99bb260b07a9c37be6de290bc9
MD5 86700f4b3611c2d64cc99ac5e8274707
BLAKE2b-256 aa7c3e779db65d75f4e73d65b63b6f606437888ae6f9c6832d936fda7e7bc360

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a28-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.0a28-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 eafb50750512fb780e797af96f3f1da983ae2a713523beea94fe5e819a4be745
MD5 c33590ff583169312bd1de7c83adb552
BLAKE2b-256 2aac0eaed0f040297d9e7241e77d6df34d9e069eaf832329dcef5d828b548cfb

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a28-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.0a28-cp36-cp36m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 8eb9e3edbafe3b560f4bd396211ee88e6ff0f0d41a2a68aafa31bb8ed7716347
MD5 b1941d4fce083429b0d1a72ac1c2ba20
BLAKE2b-256 e569f14af0e1b9c59abe73739e28c821613feeaa751e3f03c19c570d1fa55b28

See more details on using hashes here.

Provenance

File details

Details for the file multidict-4.4.0a28-cp36-cp36m-macosx_10_6_intel.macosx_10_9_x86_64.macosx_10_10_x86_64.macosx_10_11_x86_64.macosx_10_12_x86_64.macosx_10_13_x86_64.whl.

File metadata

File hashes

Hashes for multidict-4.4.0a28-cp36-cp36m-macosx_10_6_intel.macosx_10_9_x86_64.macosx_10_10_x86_64.macosx_10_11_x86_64.macosx_10_12_x86_64.macosx_10_13_x86_64.whl
Algorithm Hash digest
SHA256 c9d275a8e52be531d227f99959d57b858a10400272b0d8e5976e51ad5d8c539f
MD5 7a69d384385d99d6a4ea4645533bb9e4
BLAKE2b-256 7a092205ca5d6927e43f000db3a264673aaf773e3b07cf8034758589156b630c

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a28-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.0a28-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 2c3ecf69d06728f80e7a5fdb6d5309f7761f91d8a5848484f2b9ae289cf3fb7b
MD5 e29a9dc6b9f60e3409845ea0f0b4887f
BLAKE2b-256 6860436604e6126ffa3fce1d38712bba8c61026b055965dfe0796381bddff658

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a28-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.0a28-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 397b3ba250b5bb73b8e4c906eab22f0a5351da79f4feebba8e368728f65e8c60
MD5 7d7951ce3c19424e75ece8ca961bf829
BLAKE2b-256 cc22f3dc20de29da3be788f0952a9122cfbb23a1666e349c19650e9c4ce55c29

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a28-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.0a28-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 3ba18fd3241a41fc9f284073f8ac3f3a21868eb1dc54951fcc3e0f0d3d364dc2
MD5 0543335190d31564aca8e50455349cd4
BLAKE2b-256 a68c0c81944e768d2697b0a60da98a9edf30cec50f394f04881f155890264aaf

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a28-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.0a28-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 f66026f5d28a4310559e46487c5ee330635ed3c3193623d4eccec4a4cdb83c64
MD5 a42c00a008db132c442beed5584a7435
BLAKE2b-256 05113ced9ff2291ea4a45c50d230cedefa85d9726b86b606683c0699a6e5a0a4

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a28-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.0a28-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 a98635c1ee027a2686dcbe2eb84ad9e34ce548df2518095df40caf53201ce5d6
MD5 e264d2beeb0434b5e632d3d0338c6ed1
BLAKE2b-256 0343a6016eb1196e3b14a75b587908d8f76ce91ce17ec3348abdae173285cf47

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a28-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.0a28-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 6ff3d6770c6c21289a63602d572c28367150c450cc02e1a2214e134c74f0c188
MD5 54c4b027d968dd87e53b2c159a533338
BLAKE2b-256 3889732f0c44c6ca5b7631ae053b141f5e39f9b0899cf4870e8fe1bae06d19dc

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a28-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.0a28-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b4d5e3aa0ed39ccedd0535c0d9b94ddafa56a2e98b514f7eb1f847fb81f0ea72
MD5 9fc02ebe993962b1b7a9091776124229
BLAKE2b-256 982f639f353077888e69691816f49e22c49be202ff63bee86ce4d8a48bf41b9a

See more details on using hashes here.

Provenance

File details

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

File metadata

  • Download URL: multidict-4.4.0a28-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.0a28-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 5cdb91d8345f24af1bf9b89a8a91f4e0cb453854837438e08c2b73f05d2dfa5d
MD5 8f3335e8afa46f9fc77c4964cb5c0275
BLAKE2b-256 aa5d674d6c9ceb3f6633195db2612a2a5fe053cb1fdc9c1961f418217260cd16

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