This release is a pre-release and may not be stable for production use.
causalcore
Version 0.1.0a1 is a standalone SHA-256 file checksum utility. It hashes files incrementally using the Python standard library. This alpha has no causal-inference or machine learning functionality. Python 3.11 or later; no third-party dependencies.
python -m pip install causalcore==0.1.0a1
causalcore archive.zip
from causalcore import sha256_file
digest = sha256_file("archive.zip")
print(digest) # 64 lowercase hexadecimal characters
Files are opened in binary mode. sha256_file accepts a string or pathlib.Path,
returns the digest, and lets filesystem errors propagate to the caller. The
command prints a JSON object with path and sha256; filesystem errors go to
stderr with exit status 2. python -m causalcore is also supported.
A checksum verifies equality against a known digest; it does not establish who created a file or whether a file is trustworthy.
The API may change during alpha development. Licensed under MIT; see LICENSE.
Release files for causalcore 0.1.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| causalcore-0.1.0a1.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| causalcore-0.1.0a1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.6 kB
Release files / causalcore-0.1.0a1.tar.gz
| Download URL | causalcore-0.1.0a1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f7203adeb5f9acd06c61b8fcbef1594adc8a40332d149fc6087f33b4d39b0098
|
|
BLAKE2b-256 checksum How to use checksums |
ba4e26ec16664607a6cea8442cae76aeec9d9f24537887ebeec9238ab4032d18
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|
Release files / causalcore-0.1.0a1-py3-none-any.whl
| Download URL | causalcore-0.1.0a1-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
739c4a1ca171dcfc58b31acd36c5c762fe4edf18831418aed611485a0742596c
|
|
BLAKE2b-256 checksum How to use checksums |
e382a3cc517a1b857d5da4bca9e20ca5dc4cd7769ce3a1ae9edee4593341459e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.6
|