MultivaluedDict
Multivalued dictionary package in python.
This package features a high degree of consistency with the dict native type use case, including the type of exception that occurs.On this basis, some special multi-value dictionary methods are added.
Installation
Installation can be done through pip. You must have python version >= 3.7
pip install multivalued_dict
Usage
The statement to import the package:
from multivalued_dict_package import *
Example:
>>> mv_d = multivalued_dict()
>>> mv_d
multivalued_dict({})
>>> mv_d = multivalued_dict({'a': ['test-1', 'test-2', 'test-3'], 'b': 'test-4'})
>>> mv_d
multivalued_dict({'a': ['test-1', 'test-2', 'test-3'], 'b': ['test-4']})
>>> mv_d = multivalued_dict([['a', 'test-1'], ['b', 'test-2'], ['a', 'test-3']])
>>> mv_d
multivalued_dict({'a': ['test-1', 'test-3'], 'b': ['test-2']})
Statements for automated testing of modules:
import multivalued_dict_package.doctestmod_module as mvdt
mvdt.doctestmod()
Metadata
Release files for multivalued-dict 2.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| multivalued_dict-2.0.1.tar.gz | 6.5 kB | Without provenance | Details for multivalued_dict-2.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| multivalued_dict-2.0.1-py3-none-any.whl | Python 3 | none | any | Details for multivalued_dict-2.0.1-py3-none-any.whl |
Total release size: 27.9 kB
Release files / multivalued_dict-2.0.1.tar.gz
| Download URL | multivalued_dict-2.0.1.tar.gz |
|---|---|
| Size | 6.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6188d41921506570f1ce2e5fc0ede813d6112f2101394fb5f395cc7f55981884
|
|
BLAKE2b-256 checksum How to use checksums |
890426e0dfec68bb550b3c7a72539878ee6bbcf94a9c839bbee407f2cd0202c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0
|
Release files / multivalued_dict-2.0.1-py3-none-any.whl
| Download URL | multivalued_dict-2.0.1-py3-none-any.whl |
|---|---|
| Size | 21.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eb73cf37748d5d4dba92cd7d3153e4862f44d35cb9ac07b01a9de05d9875906f
|
|
BLAKE2b-256 checksum How to use checksums |
38d960639ea482acbf0d2defec1d2ab0f58f42bed65985a9e0beb5b9c6a70887
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0
|
Security for multivalued-dict 2.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.