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.4.2.tar.gz (12.4 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.4.2-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: provenance_core-0.4.2.tar.gz
  • Upload date:
  • Size: 12.4 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.4.2.tar.gz
Algorithm Hash digest
SHA256 a32dfa8334dc541d785a4c99852df2494aedebbb23fde74faacd6b967dc7ff7a
MD5 31df7e503577145daf1003a6f4fe0bfb
BLAKE2b-256 6f72ef945f219e20cfbc8fc7360c8c5cd3eb9ba83d70be98dfa4d3b7aa13b7d7

See more details on using hashes here.

Provenance

The following attestation bundles were made for provenance_core-0.4.2.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.4.2-py3-none-any.whl.

File metadata

File hashes

Hashes for provenance_core-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b3f1dd72fa754696fdb715f1ed2d75a12b4bb9bf1c633042a156e10b68a8426e
MD5 63881d9a8b67da6cb5137997ea0205e0
BLAKE2b-256 823f043011154f80f4fca1540526d3af2040fe38bf1b20531969e69a4d404ac9

See more details on using hashes here.

Provenance

The following attestation bundles were made for provenance_core-0.4.2-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

This release

0.4.2 This release

2 files

0.4.1

2 files

0.4.0

2 files

0.3.1

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