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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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