simdb.checksum module

simdb.checksum.sha1_checksum(uri: URI) str[source]

Generate a SHA1 checksum from the given file.

Parameters:

uri – the URI of the file to checksum

Returns:

a string containing the hex representation of the computed SHA1 checksum