Skip to main content

plumb-line-provenance (Python)

A conservative provenance / confidence / lineage envelope with a taint-propagation combination law: once any input is mock or low-confidence, every value derived from it inherits that taint automatically — there is no escape hatch that silently clears the flag.

from plumb_line_provenance import mark, derive, meta_of, audit_meta

base = mark(1000, source='real', confidence='high')
rate = mark(1.25, source='mock', confidence='low')
total = derive([base, rate], lambda a, r: a * r)

total['meta']['derived_from_mock']  # True  — inherited from rate, cannot be cleared
total['meta']['confidence']         # 'low' — only as certain as the weakest input
audit_meta(meta_of(total))          # []    — internally consistent

You can also copy the module files directly into a project and import them flat (from marked import mark); both styles work.

  • Specification: SPEC.md (envelope schema version 2)
  • Model, law, examples: README.md
  • License: Apache-2.0

JavaScript parity package: plumb-line-provenance on npm.

Download files

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

Source Distribution

plumb_line_provenance-0.7.1.tar.gz (14.6 kB view details)

Uploaded Source

Built Distribution

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

plumb_line_provenance-0.7.1-py3-none-any.whl (10.6 kB view details)

Uploaded Python 3

File details

Details for the file plumb_line_provenance-0.7.1.tar.gz.

File metadata

  • Download URL: plumb_line_provenance-0.7.1.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for plumb_line_provenance-0.7.1.tar.gz
Algorithm Hash digest
SHA256 9600f6b1873df0655f36715ce981c5ceb3b5c35688d78902218de34171ab7ca5
MD5 31cbff8a1973fb08aeb519baa5ecba07
BLAKE2b-256 e3177acc9805a565b8a246a7565ae471d6cb7590e7e675950c29afc87bda81e2

See more details on using hashes here.

Provenance

The following attestation bundles were made for plumb_line_provenance-0.7.1.tar.gz:

Publisher: release.yml on slopstopper/plumb-line

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

File details

Details for the file plumb_line_provenance-0.7.1-py3-none-any.whl.

File metadata

File hashes

Hashes for plumb_line_provenance-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b7bd4f195051666efa745ee3c4007578d76f14ec877a61306532b8328e625c5f
MD5 08f1141334ad4d8ad1f3fde46f378a13
BLAKE2b-256 41c630b323c46ddb9bdf61cf31abf43dd2db0ed9df5ac7b0711d4423575ccec7

See more details on using hashes here.

Provenance

The following attestation bundles were made for plumb_line_provenance-0.7.1-py3-none-any.whl:

Publisher: release.yml on slopstopper/plumb-line

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.10.0

2 files

0.9.0

2 files

0.8.1

2 files

0.8.0

2 files

0.7.3

2 files

0.7.2

2 files

This release

0.7.1 This release

2 files

0.7.0

2 files

0.6.0

2 files

0.5.1

2 files

0.5.0

2 files

0.4.1

2 files

0.4.0

2 files

0.3.1

2 files

0.3.0

2 files

0.2.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