Useful container datatypes for Python 2 and 3.
Project description
Note: This package is in the dangerous land of
0.x.y
versions and may be subject to breaking changes with minor version increments.
nr.collections
Provides a bunch of useful collection types.
ChainDict
: Chain multiple mappings. Mutations affect the first mapping only.HashDict
: Dictionary that uses a custom hash function for its internal keys.LambdaDict
: Represent a getter function as a mapping.OrderedDict
: Implementation of an ordered dictionary for Python <= 3.6OrderedSet
: Implementation of an ordered set.persistable
: Dict/List types with aload()
andsave()
function
Copyright © 2020 Niklas Rosenstein
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nr.collections-0.1.1.tar.gz
(8.6 kB
view hashes)
Built Distribution
Close
Hashes for nr.collections-0.1.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13d916c53282895245760aff2b3ecad1f3e8cbc4d4914344d54473ee896f653e |
|
MD5 | 1735b602ae4f0c96b345829b4033c9e1 |
|
BLAKE2b-256 | 64e2d0eb1cf6d29352adf86d23575b548bbe9726e9657bf8637acf18199960e3 |