Simple module to help with the creation of nested dictionaries with an arbitrary number of levels.
pip install nested-dictionaries
from nested_dictionaries import NestedDictionaries
my_dict = NestedDictionaries()
my_dict[key1][key2][key...] = 'value'
Released under the MIT licence.