dispel.io.utils module#

A collection of IO utility functions.

dispel.io.utils.flatten(data, parent_key='')[source]#

Return a flattened version of a nested dictionary.

Parameters:
  • data (Dict) –

  • parent_key (str) –

Return type:

Dict

dispel.io.utils.load_json(path, encoding=None)[source]#

FIXME: documentation.

Parameters:

path (str) –

Return type:

dict

dispel.io.utils.readable_data_frame(value)[source]#

FIXME: documentation.

Parameters:

value (Any) –

Return type:

bool

dispel.io.utils.readable_dict(value)[source]#

FIXME: documentation.

Parameters:

value (Any) –

Return type:

bool

dispel.io.utils.readable_file(path)[source]#

FIXME: documentation.

Parameters:

path (str) –

Return type:

bool

dispel.io.utils.readable_json(path)[source]#

FIXME: documentation.

Parameters:

path (str) –

Return type:

bool