tooluniverse.tools.drugbank_links_search module¶
drugbank_links_search
Search the cross-reference table linking DrugBank IDs to external identifiers (CAS, KEGG, PubChem…
- tooluniverse.tools.drugbank_links_search.drugbank_links_search(query, search_fields, case_sensitive, exact_match, limit, *, stream_callback=None, use_cache=False, validate=True)[source]¶
Search the cross-reference table linking DrugBank IDs to external identifiers (CAS, KEGG, PubChem…
- Parameters:
query (
str
) – Free-text query (e.g. ‘DB00002’, ‘Cetuximab’).search_fields (
list[Any]
) – Columns to search. Choose from: ‘DrugBank ID’, ‘Name’, ‘CAS Number’, ‘Drug Ty…case_sensitive (
bool
) – Match text with exact case if true.exact_match (
bool
) – Field value must equal query exactly if true; otherwise substring match.limit (
int
) – Maximum number of rows to return.stream_callback (
Callable
, optional) – Callback for streaming output
- Return type:
dict[str
,Any]