> ## Documentation Index
> Fetch the complete documentation index at: https://private-04b27de1.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# autogen.coding.jupyter.jupyter_client.JupyterKernelClient

<h2 id="autogen.coding.jupyter.jupyter_client.JupyterKernelClient" class="doc doc-heading">
  <code class="doc-symbol doc-symbol-heading doc-symbol-class" />

  <span class="doc doc-object-name doc-class-name">JupyterKernelClient</span>
</h2>

```python theme={null}
JupyterKernelClient(websocket: WebSocket)
```

(Experimental) A client for communicating with a Jupyter kernel.

<b>Parameters:</b>

| Name        | Description         |
| ----------- | ------------------- |
| `websocket` | **Type:** WebSocket |

### Class Attributes

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### ExecutionResult

<br />

<br />

### Instance Methods

<code class="doc-symbol doc-symbol-heading doc-symbol-method" />

#### execute

```python theme={null}
execute(
    self,
    code: str,
    timeout_seconds: Optional[float] = None
) -> ExecutionResult
```

<b>Parameters:</b>

| Name              | Description                                             |
| ----------------- | ------------------------------------------------------- |
| `code`            | **Type:** str                                           |
| `timeout_seconds` | **Type:** Optional\[float]<br /><br />**Default:** None |

<br />

<code class="doc-symbol doc-symbol-heading doc-symbol-method" />

#### stop

```python theme={null}
stop(self) -> None
```

<br />

<code class="doc-symbol doc-symbol-heading doc-symbol-method" />

#### wait\_for\_ready

```python theme={null}
wait_for_ready(self, timeout_seconds: Optional[float] = None) -> bool
```

<b>Parameters:</b>

| Name              | Description                                             |
| ----------------- | ------------------------------------------------------- |
| `timeout_seconds` | **Type:** Optional\[float]<br /><br />**Default:** None |

<br />
