interactiveshell
IPython's in-process cell execution without the terminal or history manager.
ExecutionInfo
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 | None, cell_meta: dict | None = None, transformed_cell: str | None = None)
ExecutionResult
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 | None = None, error_before_exec: BaseException | None = None, error_in_exec: BaseException | None = None, result: object = None)
ExecutionResult.success
def success():
ExecutionResult.raise_error
def raise_error():
InteractiveShell
def InteractiveShell():
InteractiveShell.get_ipython
def get_ipython():
InteractiveShell.transform_cell
def transform_cell(
raw_cell
):
InteractiveShell.builtin_trap
def builtin_trap():
InteractiveShell.run_cell
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
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
async def run_ast_nodes(
nodelist, cell_name, interactivity, compiler, result
):
InteractiveShell.run_code
async def run_code(
code_obj, result, *, async_:bool=False
):
InteractiveShell.showtraceback
def showtraceback(
exc_tuple=None
):