Skip to main content

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.6
  • OrderedSet: Implementation of an ordered set.
  • persistable: Dict/List types with a load() and save() 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 details)

Uploaded Source

Built Distribution

nr.collections-0.1.1-py2.py3-none-any.whl (16.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file nr.collections-0.1.1.tar.gz.

File metadata

  • Download URL: nr.collections-0.1.1.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3

File hashes

Hashes for nr.collections-0.1.1.tar.gz
Algorithm Hash digest
SHA256 645b5d3a6de3fd4e8e638a63dd47cf7d8838ce72ec0603bf3f4db822c0bd9a4e
MD5 c3fc8d0e8c9739e7342061f80aa7161c
BLAKE2b-256 f6cd601c5e1f48a248f4a9004f003fcbe5e333ada0be08db921b85c51960e104

See more details on using hashes here.

File details

Details for the file nr.collections-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: nr.collections-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.3

File hashes

Hashes for nr.collections-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 13d916c53282895245760aff2b3ecad1f3e8cbc4d4914344d54473ee896f653e
MD5 1735b602ae4f0c96b345829b4033c9e1
BLAKE2b-256 64e2d0eb1cf6d29352adf86d23575b548bbe9726e9657bf8637acf18199960e3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page