Skip to main content

provenance-core

pypi python license docs

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

provenance_core-0.3.1.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

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

provenance_core-0.3.1-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file provenance_core-0.3.1.tar.gz.

File metadata

  • Download URL: provenance_core-0.3.1.tar.gz
  • Upload date:
  • Size: 7.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for provenance_core-0.3.1.tar.gz
Algorithm Hash digest
SHA256 3cd74ef52074380bc70d1f3be961b3553fe2ac165651ccc2b418cfd6946e48e8
MD5 afd90d645df2f7a4a11afc3f92653e29
BLAKE2b-256 ca7f5fdb6bf0f0d5af22ecbc0ab1839c48ba5f62921fcd60bdae5f8e9fbe0202

See more details on using hashes here.

Provenance

The following attestation bundles were made for provenance_core-0.3.1.tar.gz:

Publisher: publish-provenance-core.yml on elliottower/reproducible-science

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file provenance_core-0.3.1-py3-none-any.whl.

File metadata

File hashes

Hashes for provenance_core-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 86d3515550b103796c84083029b8be42fb9cd9ab30cbe7d118a0ddec9bafda0a
MD5 ac9ec083e0bf5ad6978caa37f7d58fab
BLAKE2b-256 0507129b2b1480494abb7f4ff1ac4a4206a3e931d3d7e9a437db5d982fe98b7c

See more details on using hashes here.

Provenance

The following attestation bundles were made for provenance_core-0.3.1-py3-none-any.whl:

Publisher: publish-provenance-core.yml on elliottower/reproducible-science

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

This release

0.3.1 This release

2 files

0.3.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page