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

Supported by

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