Skip to content

RuntimeInfo

RuntimeInfo dataclass

RuntimeInfo(environment: str, executable: Path, version: Optional[str], tcl_library: Optional[Path], installed: bool)

Resolved OpenSees runtime configuration.

Attributes:

Name Type Description
environment str

Normalized environment name, either "colab" or "local".

executable Path

Absolute path to the OpenSees launcher or executable.

version Optional[str]

Version parsed from the OpenSees startup banner, when present.

tcl_library Optional[Path]

Bundled Tcl library path for the Colab runtime, otherwise None.

installed bool

Whether this call downloaded and installed the runtime.

Attributes

environment instance-attribute

environment: str

executable instance-attribute

executable: Path

version instance-attribute

version: Optional[str]

tcl_library instance-attribute

tcl_library: Optional[Path]

installed instance-attribute

installed: bool

Methods: