Jupyter.Shell
Contents on SHELL channels
val status_of_yojson : Ppx_yojson_conv_lib.Yojson.Safe.t -> status
val yojson_of_status : status -> Ppx_yojson_conv_lib.Yojson.Safe.t
type exec_request = {
exec_code : string;
exec_silent : bool;
exec_store_history : bool;
exec_user_expr : Json.t;
exec_allow_stdin : bool;
exec_stop_on_error : bool;
}
val exec_request_of_yojson : Ppx_yojson_conv_lib.Yojson.Safe.t -> exec_request
val yojson_of_exec_request : exec_request -> Ppx_yojson_conv_lib.Yojson.Safe.t
val exec_reply_of_yojson : Ppx_yojson_conv_lib.Yojson.Safe.t -> exec_reply
val yojson_of_exec_reply : exec_reply -> Ppx_yojson_conv_lib.Yojson.Safe.t
val inspect_request_of_yojson :
Ppx_yojson_conv_lib.Yojson.Safe.t ->
inspect_request
val yojson_of_inspect_request :
inspect_request ->
Ppx_yojson_conv_lib.Yojson.Safe.t
val inspect_reply_of_yojson :
Ppx_yojson_conv_lib.Yojson.Safe.t ->
inspect_reply
val yojson_of_inspect_reply :
inspect_reply ->
Ppx_yojson_conv_lib.Yojson.Safe.t
val complete_request_of_yojson :
Ppx_yojson_conv_lib.Yojson.Safe.t ->
complete_request
val yojson_of_complete_request :
complete_request ->
Ppx_yojson_conv_lib.Yojson.Safe.t
val complete_reply_of_yojson :
Ppx_yojson_conv_lib.Yojson.Safe.t ->
complete_reply
val yojson_of_complete_reply :
complete_reply ->
Ppx_yojson_conv_lib.Yojson.Safe.t
val history_request_of_yojson :
Ppx_yojson_conv_lib.Yojson.Safe.t ->
history_request
val yojson_of_history_request :
history_request ->
Ppx_yojson_conv_lib.Yojson.Safe.t
val history_reply_of_yojson :
Ppx_yojson_conv_lib.Yojson.Safe.t ->
history_reply
val yojson_of_history_reply :
history_reply ->
Ppx_yojson_conv_lib.Yojson.Safe.t
val is_complete_request_of_yojson :
Ppx_yojson_conv_lib.Yojson.Safe.t ->
is_complete_request
val yojson_of_is_complete_request :
is_complete_request ->
Ppx_yojson_conv_lib.Yojson.Safe.t
val is_complete_reply_of_yojson :
Ppx_yojson_conv_lib.Yojson.Safe.t ->
is_complete_reply
val yojson_of_is_complete_reply :
is_complete_reply ->
Ppx_yojson_conv_lib.Yojson.Safe.t
val connect_reply_of_yojson :
Ppx_yojson_conv_lib.Yojson.Safe.t ->
connect_reply
val yojson_of_connect_reply :
connect_reply ->
Ppx_yojson_conv_lib.Yojson.Safe.t
val comm_info_request_of_yojson :
Ppx_yojson_conv_lib.Yojson.Safe.t ->
comm_info_request
val yojson_of_comm_info_request :
comm_info_request ->
Ppx_yojson_conv_lib.Yojson.Safe.t
val comm_info_reply_of_yojson :
Ppx_yojson_conv_lib.Yojson.Safe.t ->
comm_info_reply
val yojson_of_comm_info_reply :
comm_info_reply ->
Ppx_yojson_conv_lib.Yojson.Safe.t
type language_info = {
lang_name : string;
language name
*)lang_version : string;
language version
*)lang_mimetype : string;
mimetype
*)lang_file_ext : string;
file extension
*)lang_lexer : string option;
pygments lexer
*)lang_mode : Json.t;
codemirror mode
*)lang_exporter : string option;
}
val language_info_of_yojson :
Ppx_yojson_conv_lib.Yojson.Safe.t ->
language_info
val yojson_of_language_info :
language_info ->
Ppx_yojson_conv_lib.Yojson.Safe.t
val language_info : language_info
val help_link_of_yojson : Ppx_yojson_conv_lib.Yojson.Safe.t -> help_link
val yojson_of_help_link : help_link -> Ppx_yojson_conv_lib.Yojson.Safe.t
val help_links : help_link list
type kernel_info_reply = {
kernel_prot_ver : string;
protocol version
*)kernel_impl : string;
kernel_impl_ver : string;
kernel_help_links : help_link list;
kernel_lang_info : language_info;
kernel_lang : string;
}
val kernel_info_reply_of_yojson :
Ppx_yojson_conv_lib.Yojson.Safe.t ->
kernel_info_reply
val yojson_of_kernel_info_reply :
kernel_info_reply ->
Ppx_yojson_conv_lib.Yojson.Safe.t
val kernel_info_reply : kernel_info_reply
val shutdown_of_yojson : Ppx_yojson_conv_lib.Yojson.Safe.t -> shutdown
val yojson_of_shutdown : shutdown -> Ppx_yojson_conv_lib.Yojson.Safe.t
type request =
| SHELL_KERNEL_INFO_REQ
| SHELL_EXEC_REQ of exec_request
| SHELL_INSPECT_REQ of inspect_request
| SHELL_COMPLETE_REQ of complete_request
| SHELL_HISTORY_REQ of history_request
| SHELL_IS_COMPLETE_REQ of is_complete_request
| SHELL_CONNECT_REQ
| SHELL_COMM_INFO_REQ of comm_info_request
| SHELL_SHUTDOWN_REQ of shutdown
| SHELL_COMM_OPEN of Comm.t
| SHELL_COMM_MSG of Comm.t
| SHELL_COMM_CLOSE of Comm.t
val request_of_yojson : Ppx_yojson_conv_lib.Yojson.Safe.t -> request
val yojson_of_request : request -> Ppx_yojson_conv_lib.Yojson.Safe.t
type reply =
| SHELL_KERNEL_INFO_REP of kernel_info_reply
| SHELL_EXEC_REP of exec_reply
| SHELL_INSPECT_REP of inspect_reply
| SHELL_COMPLETE_REP of complete_reply
| SHELL_HISTORY_REP of history_reply
| SHELL_IS_COMPLETE_REP of is_complete_reply
| SHELL_CONNECT_REP of connect_reply
| SHELL_COMM_INFO_REP of comm_info_reply
| SHELL_SHUTDOWN_REP of shutdown
val reply_of_yojson : Ppx_yojson_conv_lib.Yojson.Safe.t -> reply
val yojson_of_reply : reply -> Ppx_yojson_conv_lib.Yojson.Safe.t