Skip to main content

Custom file and directory checksum tool

Project description

hashio

Custom file and directory checksum tool.

Features

  • multiple hash algos: c4, md5, sha256, sha512, xxh64
  • recursively runs checksums on files in directory trees
  • ignores predefined file name patterns
  • caches results for better performance

Installation

The easiest way to install:

$ pip install -U hashio

Usage

Checksum one or more files or directories using one or more hash algorithms (default is xxh64):

$ hashio <PATH> [--hash <ALGO>]

Recursively checksum and gather metadata all the files in a dir tree, and output results to a JSON file:

$ hashio <DIR>

Note that files matching patterns defined in config.IGNORABLE will be skipped.

Verify paths in previously generated JSON file by comparing stored mtimes (if available) or regenerated hash values if mtimes are missing or different:

$ hashio --verify hash.json

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

hashio-0.1.1.tar.gz (15.7 kB view details)

Uploaded Source

File details

Details for the file hashio-0.1.1.tar.gz.

File metadata

  • Download URL: hashio-0.1.1.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.10

File hashes

Hashes for hashio-0.1.1.tar.gz
Algorithm Hash digest
SHA256 cd9333674ee609efc1a4a995964c52d28a17c7673b37b3d0d5615b4cb966ea08
MD5 90a705cad802986bb8752bc15a672ef2
BLAKE2b-256 36bbdcd9d52c299ac102efc54c648e54668e9608e6bde34cdd1e079a54173e09

See more details on using hashes here.

Supported by

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