Skip to main content

HashableDict

A hashable immutable dictionary for Python. It lets you store dictionaries in sets or as keys to other dictionaries.

Usage

from HashableDict import HashDict

alive_list  = [("Ada Lovelace", False),
               ("Douglas Adams", False),
               ("Sylvia Plath", False),
               ("Alan Turing", False),
               ("you and your dreams", True)]

alive_dict = HashDict(alive_list)

if alive_dict["you and your dreams"]:
    print("The dream is alive!")

dict_within_dict = {alive_dict: None}
print(dict_within_dict)

Metadata

Release files for HashableDict 0.3.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 HashableDict 0.3.0
File Size Uploaded Provenance Actions
HashableDict-0.3.0.tar.gz 3.1 kB Without provenance Details for HashableDict-0.3.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for HashableDict 0.3.0
File Interpreter ABI Platform Actions
HashableDict-0.3.0-py3-none-any.whl Python 3 none any Details for HashableDict-0.3.0-py3-none-any.whl

Total release size: 7.4 kB

Release files / HashableDict-0.3.0.tar.gz

Download URL HashableDict-0.3.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7219fd51ce98df4ff9fb660b0487182b90ea739b1185308611c51c3fa5f2c350
BLAKE2b-256 checksum
How to use checksums
e14c58d3c02a6fab49c613df8f22c88c829928d1ee35172e7765134988549c1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Release files / HashableDict-0.3.0-py3-none-any.whl

Download URL HashableDict-0.3.0-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b7967fa99a8a3717387656555aa68bd28d29fdac4a081312dec374178f60655
BLAKE2b-256 checksum
How to use checksums
579a7d92143125f1be5c4c29c5498873da7de4e6afbe305e573a9033a43a03da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

Security for HashableDict 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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