---
title: interactiveshell
description: IPython's in-process cell execution without the terminal or history manager.
---
## ExecutionInfo

```python
def ExecutionInfo(
    raw_cell:str, store_history:bool, silent:bool, shell_futures:bool, cell_id:str | None,
    cell_meta:dict | None=None, transformed_cell:str | None=None
)->None:
```

*ExecutionInfo(raw\_cell: str, store\_history: bool, silent: bool, shell\_futures: bool, cell\_id: str &#124; None, cell\_meta: dict &#124; None \= None, transformed\_cell: str &#124; None \= None)*

## ExecutionResult

```python
def ExecutionResult(
    info:execnb.minipy.interactiveshell.ExecutionInfo, execution_count:int | None=None,
    error_before_exec:BaseException | None=None, error_in_exec:BaseException | None=None, result:object=None
)->None:
```

*ExecutionResult(info: execnb.minipy.interactiveshell.ExecutionInfo, execution\_count: int &#124; None \= None, error\_before\_exec: BaseException &#124; None \= None, error\_in\_exec: BaseException &#124; None \= None, result: object \= None)*

### ExecutionResult.success

```python
def success():
```

### ExecutionResult.raise\_error

```python
def raise_error():
```

## InteractiveShell

```python
def InteractiveShell():
```

### InteractiveShell.get\_ipython

```python
def get_ipython():
```

### InteractiveShell.transform\_cell

```python
def transform_cell(
    raw_cell
):
```

### InteractiveShell.builtin\_trap

```python
def builtin_trap():
```

### InteractiveShell.run\_cell

```python
def run_cell(
    raw_cell, store_history:bool=False, silent:bool=False, shell_futures:bool=True, cell_id=None
):
```

*Run a non-suspending cell synchronously, as IPython's pseudo-sync runner does.*

### InteractiveShell.run\_cell\_async

```python
async def run_cell_async(
    raw_cell, store_history:bool=False, silent:bool=False, shell_futures:bool=True, *, transformed_cell=None,
    preprocessing_exc_tuple=None, cell_id=None, cell_meta=None
):
```

### InteractiveShell.run\_ast\_nodes

```python
async def run_ast_nodes(
    nodelist, cell_name, interactivity, compiler, result
):
```

### InteractiveShell.run\_code

```python
async def run_code(
    code_obj, result, *, async_:bool=False
):
```

### InteractiveShell.showtraceback

```python
def showtraceback(
    exc_tuple=None
):
```
