bridge.builders.europe_pmc.europe_pmc_composer module

bridge.builders.europe_pmc.europe_pmc_composer module#

High-level coroutine that chains EuropePMCIngestor and EuropePMCTransformer to produce a Publication model from a Europe PMC ID.

async bridge.builders.europe_pmc.europe_pmc_composer.compose_europe_pmc_metadata(pmid=None, pmcid=None, doi=None)[source]#

Fetch and transform Europe PMC entry into a Publication model.

Parameters:
  • pmid (str, optional) – PubMed identifier (e.g., “36173614”).

  • pmcid (str, optional) – PubMed Central identifier (e.g., “PMC9903320”).

  • doi (str, optional) – Digital Object Identifier (e.g., “10.1021/acs.jproteome.2c00457”).

Returns:

A Publication model representing the Europe PMC metadata.

Return type:

Publication

Raises:

Exception – If there is an error during ingestion or transformation.