pydss.utils.utils
Utility functions for the jade package.
Functions
decompress_file(filename)
|
Decompress a file. |
deserialize_timedelta(text)
|
|
dump_data(data, filename, **kwargs)
|
Dump data to the filename. |
get_cli_string()
|
Return the command-line arguments issued. |
interpret_datetime(timestamp)
|
Return a datetime object from a timestamp string. |
load_data(filename, **kwargs)
|
Load data from the file. |
make_human_readable_size(size[, decimals])
|
Convert bytes to human readable representation. |
make_json_serializable(obj)
|
|
make_timestamps(data)
|
|
serialize_timedelta(timedelta_object)
|
|
Classes
TomlEnumEncoder([_dict, preserve])
|
Encodes Enum values instead of Enum objects. |