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/:

Metadata

Release files for hashio 0.5.4

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.4
File Size Uploaded Provenance Actions
hashio-0.5.4.tar.gz 43.6 kB Without provenance Details for hashio-0.5.4.tar.gz

Built distribution (wheel)

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

Total release size: 85.1 kB

Release files / hashio-0.5.4.tar.gz

Download URL hashio-0.5.4.tar.gz
Size 43.6 kB
Tags Source
SHA-256 checksum
How to use checksums
64419f8e5a259d2d1ceca53091c5f3c258563f09695a5b8bcb8c70162844d3d0
BLAKE2b-256 checksum
How to use checksums
47ff81dd3f7b53da406692131e882786d4a1d92ccef4c23e43b7cd8a894be7d8
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.4-py3-none-any.whl

Download URL hashio-0.5.4-py3-none-any.whl
Size 41.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8b89f60feaf45739a2fd3234c58978e5fc5b617d3b98d6c48de5e17788414298
BLAKE2b-256 checksum
How to use checksums
fd7a0ef54baccfdae65b8cd721ab486b317e5e5ff5d64ff3e9d273424b012ff6
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.4

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