Python drop-in replacement for md5sum and co.
Project description
- copiright:
2016 Antonio Valentino <antonio dot valentino at tiscali dot it>
Python drop-in replacement for md5sum, and co.
usage: hashsum [-h] [-a] [--tag] [-b | -t] [-c | -l] [--quiet] [--status] [--strict] [-w] [--version] [FILE [FILE ...]] Compute and check message digest with different hash algorithms. The sums are computed as described in [1]. When checking, the input should be a former output of this program. The default mode is to print a line with checksum, a character indicating input mode ('*' for binary, space for text), and name for each FILE. [1] https://docs.python.org/3/library/hashlib.html positional arguments: FILE name of file to process. If not specified, or set to -, data are read form the standard input optional arguments: -h, --help show this help message and exit -a , --algorithm specify the hashing algorithm (default: MD5) --tag create a BSD-style checksum -b, --binary read input data in binary mode -t, --text read input data in text mode (default) -c, --check read checksum(s) form FILE and check them -l, --list-algorithms list available hashing algorithms --version show program's version number and exit check: Options that are useful only when verifying checksums --quiet don't print OK for each successfully verified file --status don't output anything, status code shows success --strict exit non-zero for improperly formatted checksum lines -w, --warn warn about improperly formatted checksum lines
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
hashsum-1.1.tar.gz
(10.4 kB
view details)
Built Distribution
hashsum-1.1-py2.py3-none-any.whl
(19.7 kB
view details)
File details
Details for the file hashsum-1.1.tar.gz
.
File metadata
- Download URL: hashsum-1.1.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 793a22b9d480dbcbf6f595836d3c7058bad3d8f882cc4a373d63f23a4e23053e |
|
MD5 | a8e5cd411f2c5f49e2886f84a74c8cd4 |
|
BLAKE2b-256 | 531e5b83d42246080354c1ae42510bf6055060782563d153eca5373bae67eef4 |
File details
Details for the file hashsum-1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: hashsum-1.1-py2.py3-none-any.whl
- Upload date:
- Size: 19.7 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5b76b25cab63bb1b7e8d0f82761a7b3b0bdc263768dfbef7544ad87a97d5a05 |
|
MD5 | 7eded70fe081d25862cf05ae14c8fe0c |
|
BLAKE2b-256 | 66f2822ac1d974d41c254415e8610cc4b75ac895c0aec11a3bc7ed88617b3100 |