Skip to main content

Recursively calculate and display MD5 file hashes for all files rooted in a directory.

Project description

pymd5
=====

Recursively calculate and display MD5 file hashes for all files rooted in a directory.

Description
-----------
Hashes are calculated for all files rooted in the given directory. Hashes and file paths (relative to given directory) are output to stdout, problem files reported on stderr. File paths are output in alphabetical order, and don't include the name of the top-level directory.

Output matches that of md5sum(1): "{md5-hash} \*{relative file path}", e.g: ::

7df5132659452a47ec54aa7158995e21 *pymd5.py

Functions
---------
.. raw:: html

<pre>
<strong>calculate_hashes</strong>(dirpath)
Calculate MD5 hashes for all files rooted in `dirpath`.
</pre>

Command-line usage
------------------
.. raw:: html

<pre><strong>pymd5</strong> [-h|--help] DIRPATH</pre>

Project details


Release history Release notifications

This version
History Node

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pymd5-0.1.tar.gz (3.1 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page