io_plugin_utils

Utility functions for io plugin.

Functions

Summary

bool_str_repr

Replace boolean value with string repr.

bool_table_repr

Replace boolean value with string repr for all table values.

inferr_file_format

Inferr format of a file if it exists.

not_implemented_to_value_error

Decorate a function to raise ValueError instead of NotImplementedError.

protect_from_overwrite

Raise FileExistsError if files already exists and allow_overwrite isn't True.