chemparseplot.parse.orca._opi#

Internal OPI (ORCA Python Interface) access for chemparseplot.

OPI is an optional dependency. Public callers must use

mod:

chemparseplot.parse.orca.neb (e.g. :func:parse_orca_neb) and must not import opi for suite-supported workflows.

Added in version 1.9.0.

Module Contents#

Functions#

opi_available

Return True if the opi package can be imported.

get_opi_output_class

Return opi.output.core.Output, importing lazily.

reset_opi_cache

Clear cached OPI import state (tests only).

Data#

API#

chemparseplot.parse.orca._opi._opi_output_cls: Any | None#

None

chemparseplot.parse.orca._opi._opi_probe: bool | None#

None

chemparseplot.parse.orca._opi._INSTALL_HINT#

“ORCA Python Interface (OPI) is not installed. Install with: pip install ‘chemparseplot[opi]’ (packag…”

chemparseplot.parse.orca._opi.opi_available() bool[source]#

Return True if the opi package can be imported.

chemparseplot.parse.orca._opi.get_opi_output_class() Any[source]#

Return opi.output.core.Output, importing lazily.

Raises

ImportError If OPI is not installed (with install hint). Does not auto-pip-install.

chemparseplot.parse.orca._opi.reset_opi_cache() None[source]#

Clear cached OPI import state (tests only).