glom-dict

Custom dictionary which can be accessed with glom-like paths

MIT License

Downloads
223
Stars
2
Committers
3
glom-dict - add `.assign()` Latest Release

Published by Kilo59 over 2 years ago

Add a .assign(path, val, missing = None) convenience method.
Can now use the missing callable to backfill missing data structures.

>>> from glom_dict import GlomDict
>>> my_dict = GlomDict()
>>> my_dict.assign('a.b.c', 'hi', missing=dict)
{'a': {'b': {'c': 'hi'}}}
glom-dict - Python 3.6 support

Published by Kilo59 over 2 years ago

Add support for python 3.6.2 and above

Package Rankings
Top 22.87% on Pypi.org
Badges
Extracted from project README
ci documentation pypi version