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-1.0.0.tar.gz
(5.5 kB
view hashes)
Built Distribution
Close
Hashes for nr.collections-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff7632ccf9de8d7f9cf47d64b21bd79ae93177b2696177c00a371381d6c14425 |
|
MD5 | efe63fe541d4840399dc85c3ad2f5679 |
|
BLAKE2b-256 | b08499d01ba47be04b59776f776d56fbd9735569292b509632b0e9dac2f066b1 |