weirdictDoing weird things with dicts | |
Download |
weirdict Ranking & Summary
Advertisement
- License:
- BSD License
- Price:
- FREE
- Publisher Name:
- Baptiste Mispelon
- Publisher web site:
- https://github.com/bmispelon/
weirdict Tags
weirdict Description
weirdict is a Python module that 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.ExamplesThe example classes provided include:- 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.Product's homepage
weirdict Related Software