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-1.0.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

nr.collections-1.0.0-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

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

Hashes for nr.collections-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2d43983235d1299f6e144a1e15d55a3deef4e1b8842dfec67489d2f2037b6553
MD5 78fd2df575fc7b8f91bbc45d6d21bcfe
BLAKE2b-256 24676b91085b0a2aaeaf006931b273da96f0d9c300a50795e5f0c1db17a7fdaa

See more details on using hashes here.

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

Hashes for nr.collections-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff7632ccf9de8d7f9cf47d64b21bd79ae93177b2696177c00a371381d6c14425
MD5 efe63fe541d4840399dc85c3ad2f5679
BLAKE2b-256 b08499d01ba47be04b59776f776d56fbd9735569292b509632b0e9dac2f066b1

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