hash_file

hash_file(file_path: str) Optional[str][source]

Calculate the md5 hash value of the file at file_path.

Parameters

file_path (str) – Path to the file that should be hashed.

Returns

MD5 hex hash value of the file at file_path.

Return type

str