54 lines
1.0 KiB
Python
54 lines
1.0 KiB
Python
"""Small, side-effect-free API for the in-process IPython runner."""
|
|
|
|
from .app import App
|
|
from .events import (
|
|
error_from_execution_result,
|
|
event_from_execution_result,
|
|
event_from_history_output,
|
|
)
|
|
from .models import (
|
|
AppInfo,
|
|
CallError,
|
|
CallEvent,
|
|
CallEventKind,
|
|
CallOptions,
|
|
CallResponse,
|
|
CallResult,
|
|
CallResultResponse,
|
|
JSONValue,
|
|
ShellInfo,
|
|
ShellStatus,
|
|
)
|
|
from .shell import (
|
|
Shell,
|
|
isolate_output_history,
|
|
carefully_setup_shell,
|
|
run_cell_and_collect,
|
|
setup_shell,
|
|
)
|
|
from .utils import generate_good_names
|
|
|
|
__all__ = [
|
|
"App",
|
|
"AppInfo",
|
|
"CallError",
|
|
"CallEvent",
|
|
"CallEventKind",
|
|
"CallOptions",
|
|
"CallResponse",
|
|
"CallResult",
|
|
"CallResultResponse",
|
|
"JSONValue",
|
|
"Shell",
|
|
"ShellInfo",
|
|
"ShellStatus",
|
|
"carefully_setup_shell",
|
|
"error_from_execution_result",
|
|
"event_from_execution_result",
|
|
"event_from_history_output",
|
|
"generate_good_names",
|
|
"isolate_output_history",
|
|
"run_cell_and_collect",
|
|
"setup_shell",
|
|
]
|