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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 2Python 3

File details

Details for the file md5checker-0.2.1.tar.gz.

File metadata

  • Download URL: md5checker-0.2.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for md5checker-0.2.1.tar.gz
Algorithm Hash digest
SHA256 30cc090cd7a82298984f6d5bc23bb8aa21b02075e89bf8606f9b4ba59e0e20cf
MD5 707086f9616532570164df584f2eb3a4
BLAKE2b-256 6d6c5d538222b7e053936bfc195df483169588930946a64a62cea3a1cf1da5de

See more details on using hashes here.

File details

Details for the file md5checker-0.2.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for md5checker-0.2.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4cb8bca1bbea9d484a5a23d113cd009b6477fe939d945f5776d4736d11522fae
MD5 e647e4c3e9a8817e2d5d02c8c5959ab6
BLAKE2b-256 f9d3e42ed4b0627bf20025861e09e5080d615550359e1a692fc39e1f0c523bc2

See more details on using hashes here.

Supported by

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