Skip to main content

Includes implementations of Python collection types that don't require hashability.

Project description

Non-Hashing Python Collections

As well all know, hash-based collections are a scourge upon the world (/s), so this library contains implementations of common Python collections that would usually require hashability of its elements, but without that requirement.

So... Why?

Python's set, dict, and a few other collections require their elements to be hashable, but sometimes types are not hashable. Perhaps they could be, and even should be, but they aren't. This library allows you use such types in typically hashed collections.

Also these implementations are natually insertion order preserving.

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

non_hashing_collections-0.1.dev0.tar.gz (11.4 kB view hashes)

Uploaded Source

Built Distribution

non_hashing_collections-0.1.dev0-py3-none-any.whl (12.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