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

You can also run it directly with uvx:

uvx hashio <PATH>

Documentation

Detailed documentation now lives under docs/:

Metadata

Release files for hashio 0.5.3

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.3
File Size Uploaded Provenance Actions
hashio-0.5.3.tar.gz 43.0 kB Without provenance Details for hashio-0.5.3.tar.gz

Built distribution (wheel)

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

Total release size: 84.3 kB

Release files / hashio-0.5.3.tar.gz

Download URL hashio-0.5.3.tar.gz
Size 43.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7f80fa68f7257a399fbc2fa6b618d1ec3871ac2d4a21705f29c334828a825172
BLAKE2b-256 checksum
How to use checksums
a2cb1d73e9e4b520bce0a4254e65b7a76d66f8abed4eaa192e8aee9c46700d29
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.3-py3-none-any.whl

Download URL hashio-0.5.3-py3-none-any.whl
Size 41.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9b2569d038c50b70b620d84451823e6538869d3223ed9fd554a28b88a1aa999b
BLAKE2b-256 checksum
How to use checksums
0ed545012ec2218f8bb6e883fda45f47011d491793e3e0188b2bc09b9b4883f9
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.3

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