The recursive_dictionary.py module#

Summary#

RecursiveDictionaryOfEntityHandles

A recursive dictionary structure for storing entity handles in a nested hierarchy that maps a filesystem-like

get_and_create_nested_dict

validate_path_component

Validate that a string is suitable for use as a file or directory name.

Module detail#

recursive_dictionary.get_and_create_nested_dict(parts: tuple[str, ...], value: RecursiveDictionaryOfEntityHandles) → RecursiveDictionaryOfEntityHandles#
recursive_dictionary.validate_path_component(name: str) → None#

Validate that a string is suitable for use as a file or directory name.