Metadata-Version: 2.1
Name: py-checksum
Version: 0.4.3
Summary: Create unified checksum from all the files and directories within a certain path
Author: Pooria Atarzadeh
Author-email: pooria.attz@pm.me
Requires-Python: >=3.5,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Description-Content-Type: text/markdown

# 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:

```bash
./pychecksum -h
```

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

```bash
./pychecksum
```

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

```bash
./pychecksum -d ./src
```

Exclude `node_modules`, `__pycache__` directories and `.env` files:

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

Limit the size of the checksum to 10 characters:

```bash
./pychecksum -s 10
```

