$npx skillfedfor your agent

lib4sbom

Software Bill of Material (SBOM) generator and consumer library

Worth itPyPI Build ToolsReleased Apr 2026317.0K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — lib4sbom-0.10.4-py3-none-any.whl
v0.10.4 · released 2026-04-17 · Python >=3.9 · 7 runtime deps: pyyaml, semantic_version, defusedxml, fastjsonschema, jsonschema, xmlschema, packageurl-python

Yes. Lib4sbom is actively maintained, has no known vulnerabilities, and solves a real problem for anyone working with multiple SBOM formats. The low install friction and broad Python version support (3.9–3.14) make it a straightforward dependency. The alpha status reflects ongoing development, but the API is stable enough for production use in supply-chain and DevSecOps workflows.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.9 or later.
  • Low install friction; pure Python wheel with seven runtime dependencies (pyyaml, semantic_version, defusedxml, fastjsonschema, jsonschema, xmlschema, packageurl-python).
  • Active maintenance with recent releases; last commit 2026-08-10.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

last release 2026-04-17 (119 days) · last repo commit 2026-08-10 · 44 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 317,001 downloads/mo, #7,668 on PyPI

Verify before relying

pip install lib4sbom

from lib4sbom.parser import SBOMParser

parser = SBOMParser()
parser.parse_file('sbom.spdx')
packages = parser.get_packages()
  • Whether the library can round-trip SBOMs (parse and regenerate) without data loss across all supported formats.
  • Performance characteristics when parsing very large SBOMs with thousands of packages.
  • Completeness of SPDX RDF and XML support beyond the noted 'few package attributes'.
Same gist for agents: .md · .json

What it is and what it does

Lib4sbom is a Python library that abstracts away the differences between SPDX and CycloneDX SBOM formats, letting you parse and generate bills of materials without rewriting code for each format. It handles SPDX versions 2.2, 2.3, and 3.0 in TagValue, JSON, YAML, XML, RDF, and JSON-LD formats, plus CycloneDX versions 1.4 through 1.7 in JSON and XML. The library also supports parsing SBOMs embedded in In-Toto attestations and Protobom objects.

You work with a common set of SBOM data objects—files, packages, relationships, vulnerabilities, services, and cryptography metadata—regardless of which format you're reading or writing. This is useful for DevSecOps pipelines, supply-chain security tooling, and any workflow that needs to consume or produce SBOMs from multiple sources without format-specific branching logic.

Use it for

  • Parse SBOMs from different tools (e.g., Syft, CycloneDX generators) into a unified data model for analysis.
  • Convert between SPDX and CycloneDX formats by parsing one and generating the other.
  • Extract vulnerability, package, and relationship data from SBOMs for compliance or risk reporting.
  • Build DevSecOps automation that ingests SBOMs from CI/CD pipelines without caring which format they use.
  • Embed SBOM parsing into security scanning tools that need to work with multiple SBOM standards.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Lib4sbom is actively maintained, has no known vulnerabilities, and solves a real problem for anyone working with multiple SBOM formats. The low install friction and broad Python version support (3.9–3.14) make it a straightforward dependency. The alpha status reflects ongoing development, but the API is stable enough for production use in supply-chain and DevSecOps workflows.

Install

lib4sbom on PyPI

Before you install

Low install friction; pure Python wheel with seven runtime dependencies (pyyaml, semantic_version, defusedxml, fastjsonschema, jsonschema, xmlschema, packageurl-python). Active maintenance with recent releases; last commit 2026-08-10.

Requires Python 3.9 or later.

License in practice

Apache-2.0 permissive license; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.

Quickstart

pip install lib4sbom

from lib4sbom.parser import SBOMParser

parser = SBOMParser()
parser.parse_file('sbom.spdx')
packages = parser.get_packages()

Verify before relying

  • Whether the library can round-trip SBOMs (parse and regenerate) without data loss across all supported formats.
  • Performance characteristics when parsing very large SBOMs with thousands of packages.
  • Completeness of SPDX RDF and XML support beyond the noted 'few package attributes'.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.9
Install frictionLow. Pure-Python wheel
Runtime dependencies
7 packages
pyyamlsemantic_versiondefusedxmlfastjsonschemajsonschemaxmlschemapackageurl-python
MaintenanceActively maintained 119 days since the last release
Last repo commit
First released
Downloads317,001 / month, #7,668 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy

Evidence: lib4sbom-0.10.4-py3-none-any.whl

Tags

Capabilities
SBOM parser generatorsoftware bill of materials librarySPDX CycloneDX parsingSBOM format conversionsupply chain component trackingDevSecOps SBOM toolsvulnerability tracking SBOM
Topics
sbomsupply-chain-securitydevops
PyPI keywords
securitytoolsSBOMDevSecOpsSPDXCycloneDXlibrary

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “SBOM parser generator”

  • lib4sbomLib4sbom parses and generates Software Bill of Materials (SBOMs) in…
  • lib4vexLib4VEX parses and generates VEX (Vulnerability Exploitability…
  • cyclonedx-pyGenerates Software Bill of Materials (SBOM) documents in CycloneDX…

Give your agent the search over MCP, or paste the wish link into any chat.

More Build Tools packages

packaging Worth it
PyPI · Build Tools · released Aug 2026

Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.

Apache-2.0 OR BSD-2-Clausepure Python · 3.9+
2.2Bdownloads / mo
tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
pip Worth it
PyPI · Build Tools · released Aug 2026

pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.

MITpure Python · 3.10+
617.5Mdownloads / mo
hatchling Worth it
PyPI · Python Modules · released Aug 2026

Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.

MITpure Python · 3.10+
484.2Mdownloads / mo
grpcio-tools Worth it
PyPI · Build Tools · released Jul 2026

Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.

Apache-2.0compiled wheel · 3.10+
278.2Mdownloads / mo
pre-commit Worth it
PyPI · Build Tools · released Aug 2026

pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.

Install it if your team needs consistent, automated validation at commit time.

permissive licensepure Python · 3.10+
179.9Mdownloads / mo

See also distro2sbom · lib4vex · spdx-python-model · cyclonedx-bom · cyclonedx-python-lib · cyclonedx-py · spdx-tools · scancode-toolkit · socketdev · spdx3-validate