ware_ops_pipes.utils.io_helpers

Functions

load_pickle(→ Any)

load_json(→ Dict)

dump_json(→ None)

dump_pickle(→ None)

find_project_root(→ pathlib.Path)

Find project root by looking for a marker file.

Module Contents

ware_ops_pipes.utils.io_helpers.load_pickle(path: str, mode: str = 'rb') Any[source]
ware_ops_pipes.utils.io_helpers.load_json(path: str, mode: str = 'r') Dict[source]
ware_ops_pipes.utils.io_helpers.dump_json(path: str, data: Dict, encoder_cls: Type[json.JSONEncoder] | None = None, mode: str = 'w', indent: int = 4) None[source]
ware_ops_pipes.utils.io_helpers.dump_pickle(path: str, data: Any, mode: str = 'wb') None[source]
ware_ops_pipes.utils.io_helpers.find_project_root() pathlib.Path[source]

Find project root by looking for a marker file.