das.data_hash#

das.data_hash.hash_data(data_path: Union[str, pathlib.Path], chunk_size: int = 65536) str[source]#

Compute MD5 hash of the data_path (dir or file) for data versioning.

Parameters
  • data_path ([type]) – [description]

  • chunk_size (int, optional) – [description]. Defaults to 65536.

Raises

ValueError – [description]

Returns

hexadecimal string containing the hash code

Return type

str