DottedDict is a dict subclass that allows accessing nested keys using dot notation (e.g., d.key.subkey). Currently at version 1.1.3. Release cadence is irregular; last update was in 2020.
pip install dotted-dictVerified import paths — ran on the pinned version, not inferred.
Creates a DottedDict from a nested dict and accesses nested keys with dot notation.
Use d['new']['key'] = 'value' or pre-initialize the nested structure.
Access these methods via d.keys() (works on the object) but be aware that nested DottedDicts also override them; use dict(d['inner']).keys() if needed.
Use DottedDict with nested structures; for lists, you must manually convert each element.
Set using standard dict assignment: d['new'] = DottedDict({'key': 'value'})Ensure nested values are DottedDict or use dict() conversion: dict(d['inner']).items()
No dependency data recorded yet.