Skip to main content

sbombox-core

Parse, validate, score, fix and check the compliance of software bills of materials (SBOMs) in CycloneDX and SPDX. This is the library behind the SBOMBox CLI and the SBOMBox platform.

  • Offline. Nothing is fetched over the network, including schemas.
  • No framework dependencies. Embed it in any Python 3.12+ application.
  • Formats. CycloneDX (JSON, XML, YAML) and SPDX (JSON, tag-value), detected automatically.

Install

pip install sbombox-core

Usage

from sbombox_core import load, validate_sbom, score, check_compliance, fix

sbom = load("bom.json")                  # path, bytes or text; format auto-detected

result = score(sbom)
print(result.total, result.grade)        # e.g. 8.12 B

report = validate_sbom(sbom)             # semantic findings; never raises
print(report.valid, len(report.issues))

ntia = check_compliance(sbom, "ntia-2021")
print(ntia.status)

fixed = fix(sbom)                        # repair common defects

Compliance rulesets: ntia-2021, cisa-2025, cisa-2026, cra-readiness, bsi-tr-03183-2@2.1.0 (and earlier versions), fsct-v3 and openchain-telco.

Lower-level entry points: parse_sbom for the parser, validate_document for schema and semantic validation of a raw document, diff to compare two SBOMs, and sbombox_core.model for the data model.

Licensed under Apache-2.0.

Metadata

Release files for sbombox-core 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sbombox-core 0.1.1
File Size Uploaded Provenance Actions
sbombox_core-0.1.1.tar.gz 128.2 kB With provenance Details for sbombox_core-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sbombox-core 0.1.1
File Interpreter ABI Platform Actions
sbombox_core-0.1.1-py3-none-any.whl Python 3 none any Details for sbombox_core-0.1.1-py3-none-any.whl

Total release size: 243.9 kB

Release files / sbombox_core-0.1.1.tar.gz

Download URL sbombox_core-0.1.1.tar.gz
Size 128.2 kB
Tags Source
SHA-256 checksum
How to use checksums
19afb0d60d0710ea569d9f66ccab0f9939b7da71dff38bfc740ac2747242a55a
BLAKE2b-256 checksum
How to use checksums
7b04d121281db75cc992d59c1abf1af3dbaf59969474034f21c22ff17d6c1428
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Release files / sbombox_core-0.1.1-py3-none-any.whl

Download URL sbombox_core-0.1.1-py3-none-any.whl
Size 115.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bdda0bda4183677f137d739f9046ef5ba4478d0ad8cc749ac0cc6bd1738cb6e3
BLAKE2b-256 checksum
How to use checksums
8715ac8f814cd93d403f8566973963374fe48376e4d6631a3ecfc2ac8dc912be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

Security for sbombox-core 0.1.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for sbombox_core-0.1.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 25, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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