forked from bmispelon/weirdict
Doing weird things with python dicts
License
Psycojoker/weirdict
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
======== 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.
About
Doing weird things with python dicts
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Python 100.0%