poli.core.util.files.integrity

poli.core.util.files.integrity#

Utilities for verifying the integrity of files downloaded from the internet.

This module contains utilities for checking the integrity of files downloaded from the internet. This is useful for reproducibility purposes, and to make sure no malicious code is being executed.

Functions

compute_md5_from_filepath(filepath[, read_mode])

Computes the MD5 hex digest from a filepath, opening it in binary form by default.