bridge.builders.spdx package#
Public Interface#
This section documents user-facing interface of the bridge.builders.spdx package (as defined in its __init__.py file).
Functions#
|
Fetch and transform SPDX license entry into a SPDXLicense model. |
Composition utilities for SPDX: fetch raw license JSON and transform it into a validated SPDXLicense model.
- async bridge.builders.spdx.compose_spdx_license_metadata(spdx_id)[source]#
Fetch and transform SPDX license entry into a SPDXLicense model.
- Parameters:
spdx_id (str) – SPDX license identifier (e.g. “MIT”, “GPL-3.0-only”).
- Returns:
A SPDXLicense model representing the SPDX license metadata.
- Return type:
- Raises:
Exception – If there is an error during ingestion or transformation.
Submodules#
High-level coroutine that chains EuropePMCIngestor and EuropePMCTransformer to produce a Publication model from a Europe PMC ID. |
|
Transformer converting raw SPDX license data into a SPDXLicense. |
Dependencies diagram#
Each architecture diagram below visualizes the internal dependency structure of the bridge.builders.spdx package.
It shows how modules and subpackages within the package depend on each other, based on direct Python imports.
Packages are shown as purple rectangles
Modules are shown as pink rectangles
Arrows (A → B) indicate that A directly imports B
Each subpackage’s diagram focuses only on its own internal structure, it does not include imports to or from higher-level packages (those appear in the parent package’s diagram).