Chksum-cli

Latest version: v1.0.0

Safety actively analyzes 688238 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.0.0

First production-ready release!
- Interactive mode is now colored
- Tested on Windows and Ubuntu

0.3.0beta

Added better feedback in interactive mode `-i`
Added `--version` argument
Exit code now matches test results
And various small tweaks

0.2.0beta

New optional for running in interactive mode: --interactive
[-i] should override all other options/positionals just like [-?]

usage: CHKSUM [-?] [-i] [-d] position1 position2 [position3]

Calculate and compare the checksums of files or directories.
Can also compare against pasted strings.
ALGORITHMS = ['md5', 'sha1', 'sha256', 'sha512']

positional arguments:
position1 Checksum, file, or algorithm
position2 Checksum, file, or algorithm
position3 Checksum, file, or algorithm

options:
-?, --help Show this help message and exit.
-i, --interactive Run in interactive mode
-d, --dots Ignore '.' (dot) files from directories

If the first 2 positional arguments are checksums, the algorithm is not needed. Default is md5.
Example 1: chksum ./file1 ./file2 sha512
Example 2: chksum 123456789ABCDEF 123456789ABCDEF
Example 3: chksum ./dir 123456789ABCDEF

0.1.1beta

First publishing to PyPI

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.