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

Uploaded Python 3

File details

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

File metadata

  • Download URL: provenance_core-0.4.0.tar.gz
  • Upload date:
  • Size: 12.2 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.0.tar.gz
Algorithm Hash digest
SHA256 82ea50147f8519e09fc37cfc43e34e4a0619a5a60c3a4e95099d33f5fd87dd40
MD5 7f862bc8cdde7084fc09bc1cb25538dc
BLAKE2b-256 e4d0ee8bfdb706f801d07ef22fac65cd71cb6ab200e417bb0503ccb63c13334d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for provenance_core-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4539f7d0913fa7265d09eb4ea06042d283618545217f063559ffc656d5393f99
MD5 8dfd6983c261caa261b5250a7cb56cdc
BLAKE2b-256 ef818a67a740949e9f892b89dee88183e1dd11b59c60122097b8d2b5eeb5423f

See more details on using hashes here.

Provenance

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

This release

0.4.0 This release

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