bridge.services.europe_pmc package#
Public Interface#
This section documents user-facing interface of the bridge.services.europe_pmc package (as defined in its __init__.py file).
Classes#
|
Ingest a publication record from Europe PMC using one or more identifiers. |
Europe PMC integrations: async metadata ingestor from Europe PMC.
- class bridge.services.europe_pmc.EuropePMCIngestor(pmid=None, pmcid=None, doi=None)[source]#
Bases:
IngestorIngest a publication record from Europe PMC using one or more identifiers.
- 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”).
- async fetch()[source]#
Fetch the Europe PMC record matching the provided identifiers.
- Returns:
The first matching Europe PMC record.
- Return type:
dict
- Raises:
EuropePMCNotFoundError – If no record matches the provided identifiers.
httpx.RequestError, httpx.HTTPStatusError – For network/HTTP issues.
Submodules#
Helper for constructing Europe PMC API request headers. |
|
Async client for the Europe PMC API. |
Dependencies diagram#
Each architecture diagram below visualizes the internal dependency structure of the bridge.services.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).