carefully setup shell + rename

This commit is contained in:
lda
2026-08-30 10:25:06 +07:00 Verified
parent 16553b82c7
commit ad716bfb7f
15 changed files with 368 additions and 211 deletions
+53
View File
@@ -0,0 +1,53 @@
"""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",
]