coding.jupyter.jupyter_client
JupyterClient
class JupyterClient()
__init__
def __init__(connection_info: JupyterConnectionInfo)
(实验性)用于与 Jupyter 网关服务器通信的客户端。
参数:
connection_info
JupyterConnectionInfo - 连接信息
start_kernel
def start_kernel(kernel_spec_name: str) -> str
启动一个新内核。
参数:
kernel_spec_name
str - 启动的内核规范名称
返回:
str
- 启动内核的ID
JupyterKernelClient
class JupyterKernelClient()
(实验性)用于与Jupyter内核通信的客户端。