Immutable dictionary implementation for Python
A simple immutable dictionary
$ python3 -c "from frozendict import frozendict; d = frozendict({'a': 1}); print(d)"$ python3 -c "from frozendict import frozendict; d = frozendict({'x': 1}); cache = {d: 'value'}; print(cache)"$ python3 -c "from frozendict import frozendict; config = frozendict({'debug': False}); print(config['debug'])"$ python3 -c "from frozendict import frozendict; d1 = frozendict({'a': 1}); d2 = frozendict({'b': 2}); s = {d1, d2}; print(s)"