Skip to main content

A cli tool to track file changes via checksums

Project description

hashtrack

A simple tool to track the hash of files in case you need to verify them later.

Installation

git clone https://github.com/fkcptlst/hashtrack.git
cd hashtrack
pip install -e .

Usage

hashtrack --help

Example

hashtrack init  # Initialize the cache
hashtrack update  # Update the cache
# do some work or modify files
hashtrack check  # Check the checksum of the files in the cache

Configuration

Under .hashtrack directory, there is a config.yml file that you can modify to suit your needs.

extensions:  # ".ext"
  - ".ckpt"
  - ".pth"
  - ".pt"
  - ".h5"
  - ".onnx"
  - ".safetensors"
  - ".pkl"
  - ".npy"

search_dirs:  # list[str]
  - "."

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

hashtrack-0.0.1.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

hashtrack-0.0.1-py3-none-any.whl (33.0 kB view details)

Uploaded Python 3

File details

Details for the file hashtrack-0.0.1.tar.gz.

File metadata

  • Download URL: hashtrack-0.0.1.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for hashtrack-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e895b8311f49fb5be1a071316f6e28f8b6ea7d7ae42faaadc6de2c80ee4150bb
MD5 057a1a61bbd6a222a0eab333dd2725d8
BLAKE2b-256 b6c63eca1a317900aebaa143f708b899a5a557ff182406a1c5de4eeba7255a02

See more details on using hashes here.

File details

Details for the file hashtrack-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: hashtrack-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 33.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.5

File hashes

Hashes for hashtrack-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 93c362becf07a576057d51ae1774550098843defffbbc79d7b2718d759cbdb15
MD5 946584197b6db06610272459f96829fa
BLAKE2b-256 614a16d9e4468fcdbe78e07ac8f2f5358531b7ae2c98cd3232621c38d01925df

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page