pymovements.WebSource.verify_checksum#

WebSource.verify_checksum(path: Path, *, chunk_size: int = 1048576) None[source]#

Verify file integrity by comparing MD5 checksums.

The checksum from path is compared against md5.

Parameters:
  • path (Path) – Path to file to verify checksum for.

  • chunk_size (int) – Byte size of processed chunks. (default: 1024 * 1024)

Raises: