bact/Pitloom - SPDX 3 SBOM Generator

Generate an SPDX 3 SBOM for a Python project or AI model file using Pitloom.

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
project-pathDirectory to scan for a Python project (containing pyproject.toml, setup.cfg, or setup.py). Ignored when "model" is set.no.
modelPath to a local AI model file, or a Hugging Face URL / model ID. When set, runs analyze mode ("loom analyze <model>") instead of project mode.no""
outputSBOM output file path.nosbom.spdx3.json
extrasComma-separated pip extras to install alongside Pitloom, e.g. "aimodel,huggingface".no""
prettyPretty-print the SBOM output with 2-space indentation.nofalse
argsExtra raw flags passed through to the loom command.no""
pitloom-versionPitloom version or version specifier to install, e.g. "0.12.0" or ">=0.12,<1.0". Empty installs the latest release from PyPI.no""
python-versionPython version passed to actions/setup-python.no3.x
installWhen "false", skip installing Python and Pitloom, and assume Pitloom is already available on PATH (used by Pitloom's own self-test to dogfood the local checkout via "uses: ./").notrue
upload-artifactUpload the generated SBOM using actions/upload-artifact.notrue
artifact-nameArtifact name used when upload-artifact is true.nosbom
namedescription
sbom-pathPath to the generated SBOM file.