Documentation / Exports / PyRunner
Interface for a Python runner object.
• clear: PyClearMethod
Method to clear a namespace.
Param
The namespace to clear.
• installLog: MapStore<PyInstallLog>
Store for installation logs.
• isExecuting: ReadableAtom<boolean>
Atom representing whether the runner is currently executing a script.
• isReady: ReadableAtom<boolean>
Atom representing whether the runner is ready to execute scripts.
• load: PyLoadMethod
Method to load Python packages.
Param
Optional array of Python packages to load.
Param
Optional array of additional packages to load.
Param
Optional initialization code to run.
Param
Optional transformation code to run.
• log: MapStore<PyLog>
Store for execution logs.
• run: PyRunMethod
Method to run a Python script synchronously.
Param
The Python script to run.
Param
Optional namespace for the script.
Param
Optional identifier for the script execution.
Param
Optional context for the script execution.
• runAsync: PyRunAsyncMethod
Method to run a Python script asynchronously.
Param
The Python script to run.
Param
Optional namespace for the script.
Param
Optional identifier for the script execution.
Param
Optional context for the script execution.