orangeqs.juice.service.proxy#
Proxy kernel for OrangeQS Juice services.
Users of Juice are expected to work with the setup not from their own IPython kernel, but from the shared OrangeQS Juice service kernels. The proxy kernels are useful when a user or maintainer wants to execute raw IPython code in the context of a service, avoiding any API wrappers.
Proxy kernels can be installed using install_proxy_kernels() and are visible
in Jupyter interface.
Module Contents#
Functions#
Install proxy kernels for all OrangeQS Juice services. |
|
Start a proxy kernel for an OrangeQS Juice service. |
API#
- orangeqs.juice.service.proxy.install_proxy_kernels() None#
Install proxy kernels for all OrangeQS Juice services.
This also removes old proxy kernels of services that no longer exist.
- orangeqs.juice.service.proxy.start_proxy_kernel(service_name: str, connection_file: str) None#
Start a proxy kernel for an OrangeQS Juice service.
Parameters#
service_name: Name of the OrangeQS Juice service to proxy requests to.
connection_file: Path to a kernel connection file for the proxy process itself. This file is provided by Jupyter when starting the proxy from the launcher.