bridge.builders.spdx.spdx_composer module#
High-level coroutine that chains EuropePMCIngestor and EuropePMCTransformer to produce a Publication model from a Europe PMC ID.
- async bridge.builders.spdx.spdx_composer.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.