Skip to content

Releases: espehon/chksum-cli

Hash only function

13 May 20:17

Choose a tag to compare

Now, if only one file/location is given, chksum will print the hash instead of complaining about the missing arguments.

Also, the colors for the interactive mode are now modular and defined via the interactive_color dictionary.

v1.0.0 Official Release

15 Dec 04:45

Choose a tag to compare

First production-ready release!

  • Interactive mode is now colored
  • Tested on Windows and Ubuntu

v0.3.0-beta

07 Dec 00:19

Choose a tag to compare

v0.3.0-beta Pre-release
Pre-release

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

v0.2.0-beta

01 Dec 02:58

Choose a tag to compare

v0.2.0-beta Pre-release
Pre-release

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

v0.1.1-beta

28 Nov 01:03

Choose a tag to compare

v0.1.1-beta Pre-release
Pre-release

First publishing to PyPI