Creates a new LocalKernelClient instance.
Kernel information including Python path and kernel spec
Private_Path to the kernel connection file
Private_Indicates whether this client has been disposed
Private_Kernel information including Python path and kernel spec
Private_The spawned kernel process
Private_The JupyterLab kernel connection instance
PrivatecreateCreate a kernel connection file with random ports.
Object containing the connection file path and configuration
Dispose of the kernel client and clean up resources.
PrivatefindFind a free port by letting the OS assign one.
A free port number assigned by the operating system
Get the underlying kernel connection.
The JupyterLab kernel connection instance, or undefined if not started
PrivatespawnSpawn the ipykernel process and create ZMQ connection.
Client for local Python kernels using direct ZMQ communication. Works with environments that only have ipykernel installed (no jupyter-server needed).