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.2.tar.gz (15.9 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: hashio-0.1.2.tar.gz
  • Upload date:
  • Size: 15.9 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.2.tar.gz
Algorithm Hash digest
SHA256 a47c1cb62fc875f7dd83226baacb2df7869a775d15d3a863836715e3161f99d7
MD5 a090e36975b37f3ec8afec26d1ee45d7
BLAKE2b-256 79363f195b3e5f51cf0c820722b5ca1991c88a3fefb763642db444a08c41614e

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