package python
- Alphabetic
- Public
- Protected
Type Members
- case class Line(str: String, isPartial: Boolean = false) extends Product with Serializable
- case class ProcessEndSuccess(jobId: String) extends PythonMessage with Product with Serializable
- case class ProcessStartFailure(t: Throwable) extends PythonMessage with Product with Serializable
- case class ProcessStartSuccess(jobId: String) extends PythonMessage with Product with Serializable
- case class ProcessStderr(jobId: String, line: String) extends PythonMessage with Product with Serializable
- case class ProcessStdout(jobId: String, line: String) extends PythonMessage with Product with Serializable
- class PythonBridge extends AnyRef
Python Bridge is py4j bridge to connect between methods defined in quix.py and Quix execution model
- case class PythonCode(code: String, modules: Seq[String] = Nil) extends Product with Serializable
- case class PythonConfig(indexUrl: String = "https://pypi.org/simple", extraIndexUrl: String = "", packages: Seq[String] = Nil, userScriptsDir: String = "/tmp/quix-python", additionalCode: String = "") extends Product with Serializable
Python configuration populated via .env or applications.properties of spring
Python configuration populated via .env or applications.properties of spring
- indexUrl
will be used by pip to search for packages, use your hosted repository for internal packages
- extraIndexUrl
will be used by pip as fallback for indexUrl
- packages
list of packages that should be installed for every user
- userScriptsDir
directory that will be used to store user's scripts and virtualenv environments
- additionalCode
any additional code that will be prepended to every python script
- class PythonExecutor extends Executor with LazyLogging
- sealed trait PythonMessage extends AnyRef
- class PythonModule extends ExecutionModule
- class PythonProcessHandler extends NuAbstractProcessHandler with LazyLogging
- case class PythonRunningProcess(queryId: String, gatewayServer: Option[GatewayServer] = None, bridge: Option[PythonBridge] = None, process: Option[NuProcess] = None, file: Option[Path] = None) extends LazyLogging with Product with Serializable
Python Bridge is py4j bridge to connect between methods defined in quix.py and Quix execution model
Python Bridge is py4j bridge to connect between methods defined in quix.py and Quix execution model
- queryId
the queryId that started the execution
- gatewayServer
py4j instance for communication between python note and quix
- bridge
py4j bridge that maps functions exposed in python to quix implementations
- process
nuprocess instance that executes the python process
- file
python code that contains all init quix code and actual python note content
- case class TabEnd(tabId: String) extends PythonMessage with Product with Serializable
- case class TabFields(tabId: String, fields: Seq[String]) extends PythonMessage with Product with Serializable
- case class TabRow(tabId: String, row: Seq[Any]) extends PythonMessage with Product with Serializable
Value Members
- object ByteBufferUtils
- object TryPython