dicti
dicti is a dictionary with case-insensitive keys.
It works like the normal dict except that key matching is case-insensitive.
Instantiate like you would instantiate a normal dict; for example, these work.
dict(foo = ‘bar’, answer = 42) dicti(foo = ‘bar’, answer = 42)
dict({‘foo’: ‘bar’, ‘answer’: 42}) dicti({‘foo’: ‘bar’, ‘answer’: 42})
Methods that accept keys and have side-effects record the original case, just as a normal dictionary does.
di = dicti() di[‘cAsE’] = 1 di.keys() == [‘cAsE’] di[‘Case’] = 1 di.keys() == [‘Case’] di[‘caSE’] == 1
Methods that accept keys do the same thing regardless of what case you pass the key in.
Keys are still stored in their original case, however; the original keys are presented when you request them with methods like dicti.keys.
Metadata
Release files for dicti 0.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 |
|---|---|---|---|---|
| dicti-0.0.1.tar.gz | 15.6 kB | Without provenance | Details for dicti-0.0.1.tar.gz |
Release files / dicti-0.0.1.tar.gz
| Download URL | dicti-0.0.1.tar.gz |
|---|---|
| Size | 15.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e9e821019d293586cab522d7cf0d1e85c11e6f0e4c5085e0890241f9b96b7b28
|
|
BLAKE2b-256 checksum How to use checksums |
7d0144ccb0bd4a711c12576771b478f5dada512906ffa58f93e22d5191259d3e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for dicti 0.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.