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 details)
Built Distribution
File details
Details for the file nr.collections-1.0.0.tar.gz
.
File metadata
- Download URL: nr.collections-1.0.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2d43983235d1299f6e144a1e15d55a3deef4e1b8842dfec67489d2f2037b6553 |
|
MD5 | 78fd2df575fc7b8f91bbc45d6d21bcfe |
|
BLAKE2b-256 | 24676b91085b0a2aaeaf006931b273da96f0d9c300a50795e5f0c1db17a7fdaa |
File details
Details for the file nr.collections-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: nr.collections-1.0.0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff7632ccf9de8d7f9cf47d64b21bd79ae93177b2696177c00a371381d6c14425 |
|
MD5 | efe63fe541d4840399dc85c3ad2f5679 |
|
BLAKE2b-256 | b08499d01ba47be04b59776f776d56fbd9735569292b509632b0e9dac2f066b1 |