tooluniverse.tools.PubChem_get_CID_by_compound_name moduleΒΆ

PubChem_get_CID_by_compound_name

Retrieve corresponding CID list (IdentifierList) by chemical name.

tooluniverse.tools.PubChem_get_CID_by_compound_name.PubChem_get_CID_by_compound_name(name, *, stream_callback=None, use_cache=False, validate=True)[source]ΒΆ

Retrieve corresponding CID list (IdentifierList) by chemical name.

Parameters:
  • name (str) – Chemical name (e.g., β€œAspirin” or IUPAC name).

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

  • use_cache (bool, default False) – Enable caching

  • validate (bool, default True) – Validate parameters

Return type:

Any