data_export_2.py 170 B

123456
  1. def md5_stats_file(path):
  2. with open(path, "rb", 8192) as fp:
  3. digest_hex, diges_64, size = boto.s3.key.compute_md5(fp)
  4. return digest_hex, diges_64, size