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:
- Sorting directory entries alphabetically
- Recursively processing subdirectories
- Hashing file contents with BLAKE3
- Recording symlink targets
- Combining all hashes into a final checksum
Requirements
Python>=3.12blake3
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oip_checksum_validator-0.1.2.tar.gz.
File metadata
- Download URL: oip_checksum_validator-0.1.2.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8cfc16bccff18c9351808550fd3e8451701deb57660ea4a7cca3dc7a24cfba04
|
|
| MD5 |
e5e42d3911271444bec11a729e6bf1f6
|
|
| BLAKE2b-256 |
d7589257f4dd3cde6c7cb4c6908e976829757e58ffe1287b4fc77daf5cd1bdb7
|
File details
Details for the file oip_checksum_validator-0.1.2-py3-none-any.whl.
File metadata
- Download URL: oip_checksum_validator-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c8092338493da1efa855994d18f56c02b3794d83f4b20d0197768be956fa394e
|
|
| MD5 |
20821a088b0f850191ce2ab01fbf9ef0
|
|
| BLAKE2b-256 |
9f5db4622c3a9d1fd117f5801693d37d3bed4d6eb2dbba15b9c49ecf0d9b9527
|