Table of Contents

Namespace Bonsai.Scripting.Python

Classes

CreateModule

Represents an operator that creates a top-level module in the Python runtime.

CreateRuntime

Represents an operator that creates a Python runtime object which can be used to import modules, evaluate expressions, and pass data to and from a Python scope.

Eval

Represents an operator that evaluates a Python expression in the specified top-level module.

Exec

Represents an operator that executes a Python script in the specified top-level module.

Get

Represents an operator that gets the value of a variable in the specified Python module.

GetRuntime

Represents an operator that gets the Python runtime object which can be used to import modules, evaluate expressions, and pass data to and from Python.

ObserveOnGIL

Represents an operator that wraps the source sequence to ensure all notifications are emitted while holding the Python global interpreter lock.

RuntimeManager

Provides functionality for initializing and managing resources held by the Python runtime and an interface for scheduling work in the runtime scheduler.

Set

Represents an operator that adds or updates a Python runtime variable in the specified top-level module.