bridge.builders.europe_pmc package#

Public Interface#

This section documents user-facing interface of the bridge.builders.europe_pmc package (as defined in its __init__.py file).

Functions#

compose_europe_pmc_metadata([pmid, pmcid, doi])

Fetch and transform Europe PMC entry into a Publication model.

Composition utilities for Europe PMC: fetch raw publication JSON and transform it into a validated Publication model.

async bridge.builders.europe_pmc.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.

Submodules#

europe_pmc_composer

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

europe_pmc_transformer

Transformer converting raw Europe PMC API JSON into a Publication model.

Dependencies diagram#

Each architecture diagram below visualizes the internal dependency structure of the bridge.builders.europe_pmc 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).

bridge package dependencies