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>

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.1.tar.gz (2.7 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.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: oip_checksum_validator-0.1.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"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.1.tar.gz
Algorithm Hash digest
SHA256 9546fd34a90b3b094fe6732a9b5c286d5213fcdb0c3728d396eb3cd29d846061
MD5 e3d7fba3a795cb5a17ea2331e3572773
BLAKE2b-256 487575c9601ca741779b5b91b5669d202581c66cc708772d8077c8458b7cebbb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: oip_checksum_validator-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.9 {"installer":{"name":"uv","version":"0.9.9"},"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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 892d05664e1c498be086b170855326537e47f398a585240cd797dc0072caa83e
MD5 d540aedd1f5265e8e3a5dd8367121d7f
BLAKE2b-256 15f6016c32d35d6f0f14b3b3a0f4f23cfbaa106c444b4d5ebc20763f44599e78

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