1. Installation

1.1. Command Line

This package is available on the Python Package Index (PyPI) and is easy to install. Simply use pip as shown below:

(.venv) $ pip3 install ndict-tools

Alternatively, use your IDE’s interface to install this package from PyPI.

1.2. From GitHub

This package is also available on GitHub. You can download the desired version from the release directory and unpack it into your project.

1.3. Versions

Removed in version 1.2.0: Removal of NestedDictionary class-specific definition attributes for systematic use of class-specific attribute initialization.

Deprecated since version 1.0.0: Use of the NestedDictionary class’s specific parameterization at instance initialization (indent and strict keys of the __init__ method)

Added in version 0.8.0: Introduction of generalized handling of specific attributes of _StackedDict child classes. This addition will be explained later in a section for developers.

Changed in version 0.7.0: Moved the update method exclusively to the _StackedDict class to standardize updates for future subclasses.

Added in version 0.6.1: Added path and tree-like management functions. These functions are still in the early testing stages and are not expected to be fully integrated until the stable version 1.0.0.

Added in version 0.6.0: Introduced nested keys with Python lists: sd[[1, 2, 3]] == sd[1][2][3]. Note the use of double brackets [[...]] to manage the key list.