Skip to main content

Deterministic assembly plans for named inputs and reproducible build receipts.

Project description

sheaffoundry

sheaffoundry models a small, reviewable assembly plan. A plan names its inputs, orders assembly steps, and emits a deterministic receipt suitable for logs, test fixtures, or provenance records.

from sheaffoundry import AssemblyPlan, Input, Step

plan = AssemblyPlan(
    "preview-image",
    inputs=(Input("source", "sha256:abc"), Input("palette", "v3")),
    steps=(Step("decode"), Step("render", needs=("decode",))),
)

receipt = plan.receipt()
assert receipt.step_order == ("decode", "render")

Steps form a directed acyclic graph. The package validates missing dependencies and cycles, then uses lexical tie-breaking to produce a stable execution order. There are no runtime dependencies.

Project details


Download files

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

Source Distribution

sheaffoundry-0.1.0a1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

sheaffoundry-0.1.0a1-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file sheaffoundry-0.1.0a1.tar.gz.

File metadata

  • Download URL: sheaffoundry-0.1.0a1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for sheaffoundry-0.1.0a1.tar.gz
Algorithm Hash digest
SHA256 5940e649be0274432d2bef6cba8894fbca56791e95b7b32ba943e66f572ba5df
MD5 76344d5f14e4dd3f048107fae48ae8f6
BLAKE2b-256 84ad332a2844bc7ddfc1637e3fa00db27fc244273282989b8d7e8047f5850894

See more details on using hashes here.

File details

Details for the file sheaffoundry-0.1.0a1-py3-none-any.whl.

File metadata

  • Download URL: sheaffoundry-0.1.0a1-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for sheaffoundry-0.1.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 cad2d08f1c39eb32b8b4d4abb6cce8982bc3568b4ac52acd3cb159ff84374833
MD5 31836087aa173a599dc554ae0be05cfc
BLAKE2b-256 5b48406a05e8f0f183a1940ed22ff043bac70ef44b03e3c9d1099ef0d01bfe86

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page