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

Uploaded Source

Built Distribution

non_hashing_collections-0.1.dev0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file non_hashing_collections-0.1.dev0.tar.gz.

File metadata

File hashes

Hashes for non_hashing_collections-0.1.dev0.tar.gz
Algorithm Hash digest
SHA256 82f3a1ad870f4f72e63891148ad5a1ddefeb85fda3ea25db8f59409c72877334
MD5 b9d6cc53d215f2a559e102fcb5e139af
BLAKE2b-256 f5edfd5ada39f161465dce43b0a15c4bd926efec4053357f0d54cc48497b96fd

See more details on using hashes here.

File details

Details for the file non_hashing_collections-0.1.dev0-py3-none-any.whl.

File metadata

File hashes

Hashes for non_hashing_collections-0.1.dev0-py3-none-any.whl
Algorithm Hash digest
SHA256 fab896f90850c0c34ac15ba5994c8b934e06fae665fd6ada29db5580abf03f33
MD5 3bbf91123de5694b155bd5f94dd6351f
BLAKE2b-256 3985afee69431fc9232890a65cd9443bd974828b2cd7208ae12c77e82b85f7ff

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