Skip to content

Latest commit

 

History

History
35 lines (23 loc) · 725 Bytes

README.md

File metadata and controls

35 lines (23 loc) · 725 Bytes

PyChecksum

A simple CLI tool to create unified checksum from all the files and directories within a certain path. You can use it within your CI/CD pipeline and automations to detect change or deterministically address a specific artifact.

How to use?

To view help:

./pychecksum -h

Get the checksum of current directories files and sub-directories:

./pychecksum

Create a checksum of all the files and sub-directoreis within src directory:

./pychecksum -d ./src

Exclude node_modules, __pycache__ directories and .env files:

./pychecksum -d . -e node_modules __pycache__ .env

Limit the size of the checksum to 10 characters:

./pychecksum -s 10