multidict implementation
Project description
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
Built Distributions
Hashes for multidict-4.4.0a38-cp37-cp37m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8145aea8897a6cc45bf651f38e1923765b070b9e2d9388a4f57ee08efd949da |
|
MD5 | 25e6bcf16b4e6d0a7381812d382e7f82 |
|
BLAKE2b-256 | 00f215407a3e11b14c4b7a11a30c22de009e9128ce1ba48f841684be906b5aa6 |
Hashes for multidict-4.4.0a38-cp37-cp37m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29070a9744be9438dea43a23f7a9121432776beb324269fcb9951045c98c41db |
|
MD5 | 701fdd80118dc564c6f7b3dd2f953c9c |
|
BLAKE2b-256 | dc603cf3f4fd32cdd1f3c0a303381a77857b9897c67ca4a0b3bd46c2f3c3fc81 |
Hashes for multidict-4.4.0a38-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c4d6856caa43fa6504bc85960a64e3b7657c3f9c5b572a310ed8a2ca5149210 |
|
MD5 | c249b34bc1c29d94c6cd1496152eaf72 |
|
BLAKE2b-256 | 4ee05940951d5de5382f288295f5a9a7d8601ced05d09b0f67b4dfb083c3ccdf |
Hashes for multidict-4.4.0a38-cp37-cp37m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 28187d53b6104829fc64db9290ce99442d78a7d998e8623c3fedc01c309f6c54 |
|
MD5 | 7b207aca6777ac1e3a22ba1db26d11d1 |
|
BLAKE2b-256 | 1ba3e4fee7b73fd2033fcec1b27fa656cf99b13c9c9011a2a6b91613102826d4 |
Hashes for multidict-4.4.0a38-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 | 0a80c2c5995e4034f87ba75c57abdb9b20779256452c70d46004c66f53894fbb |
|
MD5 | 9668c98fb07ffcccb3fb666bca5bfafe |
|
BLAKE2b-256 | 8c34ac776635b10519907436f00e430f767547c05f1652a624176e9bf30935a0 |
Hashes for multidict-4.4.0a38-cp36-cp36m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65f782c4e51cba9cb2442c7f04554e19fc5571c83b0d357ee2c922208de1a49f |
|
MD5 | b6fab0eca72fb0ab7f86a05264b6ceda |
|
BLAKE2b-256 | 1a7e2708b7006f1d9dbc67d71f3b9ebb3405619afb8c60608b88f2b73f6c8a39 |
Hashes for multidict-4.4.0a38-cp36-cp36m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbc8970d20c9e7df69bcb8c68bb70a90d2d44f15fb8f7704a2f89289f81982f1 |
|
MD5 | 800e61457c07526085fcd4db14fcd94d |
|
BLAKE2b-256 | 29406c1fc7bce9219cc31be3d793d17c7d733c476ffeeb32173d66c833529c6e |
Hashes for multidict-4.4.0a38-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d3929ae6ae38573a0b0254bad5d86acda30c12ae00002bbc10fff7c2febe0800 |
|
MD5 | fbaca5ae3e33d2b0aaa73a0872582075 |
|
BLAKE2b-256 | 6938b28a0269ceec77d361f8d9137d32f39f483386feb25296551121522876d7 |
Hashes for multidict-4.4.0a38-cp36-cp36m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4365ce950cd55316b3818b312b178ba914391146b29adecf1e61a67991755f97 |
|
MD5 | 0ec11c0897a401078a2fece2bd2ca237 |
|
BLAKE2b-256 | aae4f345fae60dfc00cb17d5d1dd344626700d871af34c64fe9b53a85fcb21db |
Hashes for multidict-4.4.0a38-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 | 80afaa73845a5ce3b88e9b1d2d214877ef416e55af3948456357bd3c4b3704e4 |
|
MD5 | 5561001b97040a1828dc044786dc2c00 |
|
BLAKE2b-256 | 06dda97876d9c387cbf1669414f574c016c7cd6ce868b2754ba71138edfbb238 |
Hashes for multidict-4.4.0a38-cp35-cp35m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5f2959f6aee1a40160a83c8008d798e6f79b3f934ae29a043575d40b797b2471 |
|
MD5 | 0f75c951360ca1cca3ae0956c276e9b8 |
|
BLAKE2b-256 | b1d530ebcdfab4ba5dfc20f9d021910020282559cda0eb4aa4512726d85462be |
Hashes for multidict-4.4.0a38-cp35-cp35m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c5f5208369e0d9eb825f4c06216529296cb255de4c2896924a8ab69a826a983 |
|
MD5 | 65b16ebf1c6fb29508fe73a09a002da6 |
|
BLAKE2b-256 | 125ddf9c378fc0df9c9c51b9570a557fe739348c7ab92aa0c2a9e6295f073753 |
Hashes for multidict-4.4.0a38-cp35-cp35m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5cebb878838ada91d5115a29595ad5444bd4befeae9d4a0c0d3a08fcb597699 |
|
MD5 | 134c881771b85faa2d255f4239cb3d79 |
|
BLAKE2b-256 | a222771032efde7a157b7617b84c8c12427c25bfaa2c01af26a23b3a1833face |
Hashes for multidict-4.4.0a38-cp35-cp35m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dfe8282cde9f18aa7bed832b2dec2e13f02936a23b152ba1320755d80e60b9b7 |
|
MD5 | 1ac1a371ad54ef0e2e2414973c1dde58 |
|
BLAKE2b-256 | 914d1114c362d83b2a69c03235004c37c5dacd09316b249b93586b6fc5a7a889 |
Hashes for multidict-4.4.0a38-cp35-cp35m-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 | 8651b1232b89ae6d895c2c53e741a198b4f42f068345fd6094008a2ba95844a2 |
|
MD5 | beeddbb94cc2ce42346289eabe22f46c |
|
BLAKE2b-256 | da8c57bbf8c9d5c6d6bd8ca350274bac4cec111b707f335fde09a24d1a657f65 |
Hashes for multidict-4.4.0a38-cp34-cp34m-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8bb04be39ac6697eef6ba36074bde0d6f3e306669a0390e449f36d4706c5cc98 |
|
MD5 | 17bbbd5a91b8867c415c53329fb65467 |
|
BLAKE2b-256 | 71c27f2e72d634b9ffe448ce02635a5a67f1d98b324978c4d4d22ebcab1349ca |
Hashes for multidict-4.4.0a38-cp34-cp34m-win32.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4715c33178d474b932fb130912fd69173b1392c1bbac57e5a8581a2bdd614d90 |
|
MD5 | 464d4ea81392c9f088ec6281f70320e0 |
|
BLAKE2b-256 | 12884f53b4be056f109cfa1756f199443c895234dd47153c48f61ee7f5d46d15 |
Hashes for multidict-4.4.0a38-cp34-cp34m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d659521afbf61f745852765e5da99883f0b2618d85136dd5011bd892fdb049ef |
|
MD5 | c5d1f55063145217c4a8a5d899d2af25 |
|
BLAKE2b-256 | 1782df25c267e4305fa5a00a63a429de41d1767d7a9d904901385bc6af8d9ddb |
Hashes for multidict-4.4.0a38-cp34-cp34m-manylinux1_i686.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60a223bbf27a26961a6a93237545cfab87449514769738daf611d99ce429f443 |
|
MD5 | cb2b1e19e3555e7ca558ec3bbaf586cc |
|
BLAKE2b-256 | ce9c8847978115128c24ea3f71126d4170490389f8da3be5b552de5a8ce42524 |
Hashes for multidict-4.4.0a38-cp34-cp34m-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 | 76f48713a05850d3689a4f224ab8fd96bf1b9fd4142d03d6ab7cb309cb209e92 |
|
MD5 | 2a16751384a7b677677759af66974438 |
|
BLAKE2b-256 | 138b3913abd93b5bad54e0425ce1fd3b95d7f4ea9a3356bac61eafd054cd0b52 |