phenotypic.sdk_.file_fingerprint#

phenotypic.sdk_.file_fingerprint(path: Path) str[source]#

Return a versioned SHA-256 fingerprint for one file’s contents.

Parameters:

path (Path) – Existing regular file to fingerprint.

Returns:

A "sha256:<hex>" content fingerprint.

Return type:

str