Skip to main content

Hashable list Python Library

A new class that allows you to create a HashtableList object that repeats the functionality of the built-in list type, but is hashed.

Due to this, objects of the HashtableList class can be used as a key in dict and a member in set.

Example

>> import HashableList

>> hashable_list  =  HashableList([1, 2, 3])
>> dictionary  = {hashable_list: "value"}  
>> dictionary
{[1, 2, 3]: "value"}

>> id(hashable_list)
4429867792
>> hashable_list.append(4)
>> id(hashable_list)
4429867792  # this is the same object after append

>> dictionary
{[1, 2, 3, 4]: "value"}

Metadata

Release files for hashable-list 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hashable-list 0.2.0
File Size Uploaded
hashable_list-0.2.0.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for hashable-list 0.2.0
File Interpreter ABI Platform
hashable_list-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 7.7 kB

Release files / hashable_list-0.2.0.tar.gz

Download URL hashable_list-0.2.0.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
111b6b7b43826379924a28feb8038aa3e1120788d66b263dfb846b333cce3d55
BLAKE2b-256 checksum
How to use checksums
8643022932004ae4feb0f800683899530e41de35ce31bc570333a63cec145e3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Release files / hashable_list-0.2.0-py3-none-any.whl

Download URL hashable_list-0.2.0-py3-none-any.whl
Size 4.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
90cb878017adfb9a548ce7d02b0095211290f3bdf0d3970936b384db4879582a
BLAKE2b-256 checksum
How to use checksums
f950c34966207b3fc16b22da1ccb22f314600c0ff51aca34c601a02d5f55df6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page