chemistry_tools.pubchem.utils

Attention

This package has the following additional requirements:

cawdrey>=0.1.7
mathematical>=0.1.13
pillow>=7.0.0
pyparsing>=2.4.6
tabulate>=0.8.9

These can be installed as follows:

python -m pip install chemistry-tools[pubchem]

General utility functions.

Functions:

format_string(stringwithmarkup)

Convert a PubChem formatted string into an HTML formatted string.

format_string(stringwithmarkup)[source]

Convert a PubChem formatted string into an HTML formatted string.

Parameters

stringwithmarkup (Dict[str, Any])

Return type

str