ExuluPython
The main export for Python integration utilities.Methods
Set up the Python virtual environmentParameters:
options.force(boolean): Force rebuild even if environment existsoptions.verbose(boolean): Show detailed outputoptions.timeout(number): Setup timeout in millisecondsoptions.packageRoot(string): Package root directory
success(boolean): Whether setup was successfulmessage(string): Description of the resultalreadyExists(boolean): Whether environment already existedpythonVersion(string): Python version installedoutput(string): Full output from setup script
Check if Python environment is set upParameters:
packageRoot(string): Package root directory (auto-detected)
true if environment is ready, false otherwiseValidate Python environment and get detailed statusParameters:
packageRoot(string): Package root directory (auto-detected)
valid(boolean): Whether environment is validmessage(string): Validation message or instructions
Get helpful setup instructions for usersReturns: String with setup instructions
isPythonEnvironmentReady
Check if Python environment is set up and ready to use.Usage
Parameters
Package root directory (auto-detected if not provided)
Returns
ReturnsPromise<boolean> - true if environment is ready, false otherwise.