semvec/pypi-packages huggingface dataset:
HashableDict 0.3.0
A hashable immutable dictionary
License: unlicense
Requires Python: >=3.7
Keywords: dictionary,dict,frozen,hashable,immutable

# HashableDict
A hashable immutable dictionary for Python. It lets you store dictionaries in sets or as keys to other dictionaries.
## Usage
```python
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)
```