chemaxon
This is the Chemaxon Python API's main package.
Version: 26.1.0
User documentation is available at: https://docs.chemaxon.com/latest/python-api_index.html.
Jupyter notebook examples are available at: https://github.com/ChemAxon/python-examples
@dataclass(frozen=True)
class
Molecule:
You can create Molecule by importing with functions from the chemaxon.io module.
Note: That is also the strongly recommended way to do this, instead of direct construction of this class.
Molecule( atoms: tuple, bonds: tuple, _source: str, _format: str, _to_svg: Callable, _native_handle: ctypes.c_long, _to_str: Callable, _properties: dict[str, chemaxon.molecule._Property])
def
get_property( self, key: str) -> str | int | float | bool | list[int] | list[float] | None:
Get a property value of the molecule by key
@dataclass(frozen=True)
class
Atom:
Class representing atoms in a molecule
Atom( symbol: str, atomic_number: int, mass_number: int, mapping: int, bonds: tuple[Bond])
@dataclass(frozen=True)
class
Bond:
Class representing bonds in a molecule
def
licenses() -> list:
The imported Chemaxon licenses
Returns
list- The list of available licenses