Skip to main content

No project description provided

Project description

OI Checksum Validator

OICM checksum generator for data verification.

Installation

pip install oip-checksum-validator

Usage

Generate a checksum:

oic /path/to/directory

# OR invoke oip-checksum-validator via uvx, no permanent install needed
uvx --from oip-checksum-validator oic /path/to/directory

Verify against a reference checksum:

oic /path/to/directory -c <expected_checksum>

# OR invoke oip-checksum-validator via uvx, no permanent install needed
uvx --from oip-checksum-validator oic /path/to/directory -c <expected_checksum>

Run silently:

oic /path/to/directory -s

# OR invoke oip-checksum-validator via uvx, no permanent install needed
uvx --from oip-checksum-validator oic /path/to/directory -s

How it works

The tool creates a deterministic hash by:

  1. Sorting directory entries alphabetically
  2. Recursively processing subdirectories
  3. Hashing file contents with BLAKE3
  4. Recording symlink targets
  5. Combining all hashes into a final checksum

Requirements

  • Python>=3.12
  • blake3

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

oip_checksum_validator-0.1.3.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

oip_checksum_validator-0.1.3-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file oip_checksum_validator-0.1.3.tar.gz.

File metadata

  • Download URL: oip_checksum_validator-0.1.3.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for oip_checksum_validator-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e9dac841ba701813e522ace7168e0a1357cf9963b9c34c66e4338d00cb713d4e
MD5 6c94141cd19144b0bfe1d30441ae5631
BLAKE2b-256 33d4a600d63032eea181e10048824f69565458f4b598db3f915b24e6c7648f02

See more details on using hashes here.

File details

Details for the file oip_checksum_validator-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: oip_checksum_validator-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for oip_checksum_validator-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 dd00be324fbddfac2ca16a45a42484f7b3da61e65cba01a459bd207ca67762c8
MD5 fddcc15366d449e1e68a989c0ef8443e
BLAKE2b-256 5b4a7fef1ccbddeeaf1b0653d9648875eedaf3c4328e08b51edfdf98ba0a5c38

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