InchiKeyQuery#
- class biotite.database.pubchem.InchiKeyQuery(inchi_key: str)[source]#
Bases:
QueryA query that searches for compounds with a given International Chemical Identifier (InChI) key.
- Parameters:
- inchi_keystr
The InChI key.
Examples
>>> print(search(InchiKeyQuery("IJDNQMDRQITEOD-UHFFFAOYSA-N"))) [7843]
- get_files() dict[str, Any]#
Get the POST file payload for this query.
- Returns:
- paramsdict (str -> object)
The file payload.
- get_input_url_path() str#
Get the input part of the request URL.
- Returns:
- get_input_url_pathstr
The input part of the request URL. Must not contain slash characters at the beginning and end of the string.