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.1.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.1-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: provenance_core-0.4.1.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.1.tar.gz
Algorithm Hash digest
SHA256 83d3b935d8fb20f772c899b70789909f7b974da7bc01cbeb0998e9f3772e3e69
MD5 7ec40fb5ed23c10a83ebc1023834639d
BLAKE2b-256 2efbf8647b0d07372503ee826f264c041f4156a720693a83823b00a4c24e5924

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for provenance_core-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f224a2fd0c3f4e82ac4c98b3b39f8d63aa60a481e1e04a3265fbe202959dc6fd
MD5 fd03fbae59c7d6023f5e6613492ed4c7
BLAKE2b-256 ed8a27c75aedecfd1a16e39a5d93f598837521a3ce88b0c3d559fcc1fdfb6017

See more details on using hashes here.

Provenance

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

This release

0.4.1 This release

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