provenance-core
Content digests and git references, shared by the reproducible-science tools.
Internal to reproducible-science. Nothing installs it directly; the tools that need it depend on it.
Two things lived in four copies each before this package existed: hashing a file or a string,
and asking git a question. The copies had drifted — one hashed in 64 KB blocks and another in
1 MB, one encoded a string implicitly and the others explicitly, and one reported a missing
git binary as success.
from provenance_core import sha256_of_file, sha256_of_text
from provenance_core.gitref import commit, is_dirty, try_run
MIT licensed.
Metadata
Release files for provenance-core 0.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| provenance_core-0.5.2.tar.gz | 25.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| provenance_core-0.5.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 43.1 kB
Release files / provenance_core-0.5.2.tar.gz
| Download URL | provenance_core-0.5.2.tar.gz |
|---|---|
| Size | 25.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d5fbda4fd584a88e2f41e58666e4054c98059eaa5fb56d9fdf99ecb8745362ee
|
|
BLAKE2b-256 checksum How to use checksums |
d39bd3482a007f16bb90d75837c3c81044d3d1c0a4ff05a477025d6a3f5438b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.
Transparency logRelease files / provenance_core-0.5.2-py3-none-any.whl
| Download URL | provenance_core-0.5.2-py3-none-any.whl |
|---|---|
| Size | 18.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3dc83874b55ef0c41baa771681894cd279ebae044545ff581a369f16fca36b56
|
|
BLAKE2b-256 checksum How to use checksums |
dd309687726131291d57e55dee078c64127da4021ad4fe9419f7dcfb2078ce74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 8, 2026.
Transparency log