Skip to main content

Check md5 hash of file.

Project description

https://travis-ci.org/trendsetter37/md5-checker.svg?branch=master https://codecov.io/github/trendsetter37/md5-checker/coverage.svg?branch=master

MD5Checker

This module is a simple utility to examine a file’s checksum

Install

One-liner

pip install md5checker

Other ways

git clone https://github.com/trendsetter37/md5-checker
cd md5-checker

Followed by:

python setup.py install

or

pip install .

Testing (Development)

Inside the root directory, run

pip install -r requirements.txt
pip install -e .
py.test

or

pip install -r requirements.txt
pip install -e .
python setup.py test

Usage

Command Line

md5checker "Space containing directory/path-to-file.extension"

Surround path with double quotes if it contains spaces. Otherwise quotations are unnecessary.

md5checker space-containing-directory/path-to-file.extension
Options

Get version.

md5checker -v
0.2.0

List hash algorithms.

md5checker -a

Use alternate hash algorithm.

md5checker setup.cfg -a sha1
bf72c7d5ca4a4b2731bde5cfcc323ce64b533865

Module

>>> from md5checker import make_hash
>>> make_hash('setup.cfg')
ad895e8b0bd7d47e2a793dca3730aead
>>> make_hash('setup.cfg', algo='sha1')
bf72c7d5ca4a4b2731bde5cfcc323ce64b533865

Available algorithms

  • MD5

  • SHA1

  • SHA224

  • SHA256

  • SHA384

  • SHA512

Project details


Download files

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

Source Distribution

md5checker-0.2.1.tar.gz (4.4 kB view hashes)

Uploaded Source

Built Distribution

md5checker-0.2.1-py2.py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page