Skip to main content

hashio

PyPI CI License

hashio is a checksum and verification tool for files and directory trees.

It can recursively hash content, collect filesystem metadata, verify manifests, emit multiple output formats, and optionally persist results in a local SQLite cache for snapshots and diffs.

Highlights

  • Multiple hash algorithms: c4, crc32, md5, sha256, sha512, xxh64
  • Output formats: json, txt, and mhl
  • Recursive hashing and manifest verification
  • Pyseq sequence patterns, frame ranges, and wildcard inputs
  • Configurable ignorable file patterns
  • Metadata-only scans with the null algorithm
  • Optional SQLite-backed cache and snapshot diffing

Installation

Requires Python 3.8 or newer.

pip install -U hashio

If your Python build does not include sqlite3, either rebuild Python with SQLite support or install a pre-cache release:

pip install 'hashio<0.4.0'

Quick Start

hashio <PATH> -o hash.json
hashio --verify hash.json

Hash an image sequence as one aggregate (quote the reference so the shell passes it unchanged):

hashio 'frames/shot.%08d.png'
hashio 'frames/shot.%08d.png' -v
hashio 'frames/shot.%08d.png 1001-1010' -o hashes.json --start frames

Sequence aggregate output includes the selected frame range, even when the input omits it. Gaps are preserved, for example frames/shot.%08d.png [1-3, 5].

You can also run it directly with uvx:

uvx hashio <PATH>

Documentation

Detailed documentation now lives under docs/:

For performance comparisons and PR checks, see Benchmarks.

Metadata

Release files for hashio 0.5.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hashio 0.5.5
File Size Uploaded Provenance Actions
hashio-0.5.5.tar.gz 45.3 kB Without provenance Details for hashio-0.5.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hashio 0.5.5
File Interpreter ABI Platform Actions
hashio-0.5.5-py3-none-any.whl Python 3 none any Details for hashio-0.5.5-py3-none-any.whl

Total release size: 86.8 kB

Release files / hashio-0.5.5.tar.gz

Download URL hashio-0.5.5.tar.gz
Size 45.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a32cf224593579185e285e8423018717bfb4b9f72385133c0d2564e35f6fd39b
BLAKE2b-256 checksum
How to use checksums
b54050d2c65574c1a96eb0f35b3bb6ac026f08e5cbcd2ff07f4076a4271b72bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.8.10

Release files / hashio-0.5.5-py3-none-any.whl

Download URL hashio-0.5.5-py3-none-any.whl
Size 41.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d56d30a94b7a6aeeaba0468cb4a53f3aa682c9f83e36e1bf7080fd0f95673c00
BLAKE2b-256 checksum
How to use checksums
90b307b5a15a20e1e2fe3103f9efe12ad1951d3ffdc52cc2fda62970ba4c3265
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.8.10

Security for hashio 0.5.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page