sciris.sc_nested

Nested dictionary functions.

Functions

flattendict

Flatten nested dictionary

getnested

Get the value for the given list of keys

iternested

Return a list of all the twigs in the current dictionary

makenested

Little functions to get and set data from nested dictionaries.

mergenested

Merge different nested dictionaries

nestedloop

Zip list of lists in order

search

Find a key or attribute within a dictionary or object.

setnested

Set the value for the given list of keys