tooluniverse.tools.PubTator3_LiteratureSearch module

PubTator3_LiteratureSearch

Find PubMed articles that match a keyword, a PubTator entity ID (e.g. “@GENE_BRAF”), or an entity…

tooluniverse.tools.PubTator3_LiteratureSearch.PubTator3_LiteratureSearch(query, page=0, page_size=10, limit=None, *, stream_callback=None, use_cache=False, validate=True)[source]

Find PubMed articles that match a keyword, a PubTator entity ID (e.g. “@GENE_BRAF”), or an entity…

Parameters:
  • query (str) – What you want to search for. This can be plain keywords, a single PubTator ID…

  • page (int) – Zero-based results page (optional; default = 0).

  • page_size (int) – How many PMIDs to return per page (optional; default = 10; note: the PubTator…

  • limit (int) – Maximum number of results to return (applied client-side). The PubTator3 API …

  • stream_callback (Callable, optional) – Callback for streaming output

  • use_cache (bool, default False) – Enable caching

  • validate (bool, default True) – Validate parameters

Return type:

dict[str, Any]