weirdict
This package offers a base implementation as well as several examples of “normalized dicts”.
A normalized dict is a python dictionary subclass whose keys are normalized through a particular function prior to insertion/modification/deletion.
Examples
The example classes provided include:
A dict whose normalization function can be passed in the constructor (and changed on-the-fly),
A case-insensitive dict,
a dict whose keys are truncated to a given length,
a dict whose keys are computed modulo N, where N is a given int.
Metadata
Release files for weirdict 0.3.0
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 |
|---|---|---|---|---|
| weirdict-0.3.0.tar.gz | 3.4 kB | Without provenance | Details for weirdict-0.3.0.tar.gz |
Release files / weirdict-0.3.0.tar.gz
| Download URL | weirdict-0.3.0.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c24308b2fbdf61b0a9f4f9ebc70e1c62ee61fbc170320aa57c7873238296b4c9
|
|
BLAKE2b-256 checksum How to use checksums |
2177a84c9793b12b572612ea34506e7b71d23fd11fa393e489a8c3ccaf475a60
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for weirdict 0.3.0
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.