orangeqs.juice.schemas.ipython#
IPython related schemas.
Module Contents#
Classes#
Configurations for IPython kernels of all services. |
|
IPython kernel connection of a single service. |
|
Registry of IPython kernel connection information for all services. |
API#
- class orangeqs.juice.schemas.ipython.IPythonKernelConfigs(/, **data: Any)#
Bases:
orangeqs.juice.settings.ConfigurableConfigurations for IPython kernels of all services.
IPython kernels in OrangeQS Juice services use the default configuration of IPython if not configured here. This means that the kernel will use a random key and ports by default.
This configuration allows to override the default IPython configuration.
- services: dict[str, KernelConnectionInfo]#
‘Field(…)’
IPython kernel configuration for all services.
- class orangeqs.juice.schemas.ipython.KernelConnectionInfo(/, **data: Any)#
Bases:
pydantic.BaseModelIPython kernel connection of a single service.
This schema is compatible with the connection info used by IPython, for example
jupyter_client.client.KernelClient.load_connection_info().- shell_port: orangeqs.juice.schemas.common.PortNumber | None#
None
IPython shell port.
- iopub_port: orangeqs.juice.schemas.common.PortNumber | None#
None
IPython IOPub port.
- stdin_port: orangeqs.juice.schemas.common.PortNumber | None#
None
IPython standard input port.
- control_port: orangeqs.juice.schemas.common.PortNumber | None#
None
IPython control port.
- hb_port: orangeqs.juice.schemas.common.PortNumber | None#
None
IPython heartbeat port.
- class orangeqs.juice.schemas.ipython.KernelConnectionRegistry(/, **data: Any)#
Bases:
orangeqs.juice.settings.RuntimeDataRegistry of IPython kernel connection information for all services.
IPython services store their connection information in this registry on start. IPython clients use this registry to load the connection information for the service they want to connect to. The registry is stored in the shared runtime data directory
- services: dict[str, orangeqs.juice.schemas.ipython.KernelConnectionInfo]#
‘Field(…)’
Kernel connection information for all services.