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

Uploaded Python 3

File details

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

File metadata

  • Download URL: provenance_core-0.3.0.tar.gz
  • Upload date:
  • Size: 7.7 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.0.tar.gz
Algorithm Hash digest
SHA256 33561a9609574faa3307a94bb66aefd2b3d0640b26eecc84f038cf64d3271d69
MD5 92f3ed7e6a07259031d06ff20da2842e
BLAKE2b-256 f3eb54653ee75b708eb00671dd4e3169826ccd3ed1336e5c39a009b3a7ea0908

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for provenance_core-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d6f890c4502c6cb5d093f2b956959f0bce9e09bf1b92f90efbb56d3a6c90063d
MD5 fbbf8112eed9e43413a2740ad1520283
BLAKE2b-256 26cf59daa35e0c5ec39e942d005f04160bf56aebd2bbc61c38bc8139bead17c4

See more details on using hashes here.

Provenance

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

0.4.0

2 files

0.3.1

2 files

This release

0.3.0 This release

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