package jupyter-kernel
Module Jupyter_kernel.Protocol_jSource
type language_info = Protocol_t.language_info = {li_name : string;li_version : string;li_mimetype : string;li_file_extension : string;li_codemirror_mode : string option;
}type kernel_info_reply = Protocol_t.kernel_info_reply = {protocol_version : string;implementation : string;implementation_version : string;language_info : language_info;help_links : help_link list;
}type inspect_reply = Protocol_t.inspect_reply = {ir_status : string;ir_found : bool option;ir_data : dyn option;ir_metadata : dyn option;ir_ename : string option;ir_evalue : string option;ir_traceback : string list option;
}type history_request = Protocol_t.history_request = {output : bool;raw : bool;hist_access_type : string;hr_session : int;start : int;stop : int;n : int;pattern : string;unique : bool;
}type header_info = Protocol_t.header_info = {date : string;version : string;username : string option;session : string option;msg_id : string;msg_type : string;
}type execute_request = Protocol_t.execute_request = {code : string;silent : bool;store_history : bool;user_expressions : dyn;allow_stdin : bool;
}type execute_reply = Protocol_t.execute_reply = {status : string;execution_count : int;ename : string option;evalue : string option;traceback : string list option;payload : payload list option;er_user_expressions : dyn option;
}type connection_info = Protocol_t.connection_info = {stdin_port : int;ip : string;control_port : int;hb_port : int;signature_scheme : string;key : string;shell_port : int;transport : string;iopub_port : int;
}Serialize a value of type stream into a JSON string.
Input JSON data of type stream.
Serialize a value of type status into a JSON string.
Input JSON data of type status.
Serialize a value of type shutdown into a JSON string.
Input JSON data of type shutdown.
Serialize a value of type dyn into a JSON string.
Input JSON data of type dyn.
Serialize a value of type pyout into a JSON string.
Input JSON data of type pyout.
Serialize a value of type pyin into a JSON string.
Input JSON data of type pyin.
Serialize a value of type payload into a JSON string.
Input JSON data of type payload.
Output a JSON value of type language_info.
Serialize a value of type language_info into a JSON string.
Input JSON data of type language_info.
Deserialize JSON data of type language_info.
Serialize a value of type help_link into a JSON string.
Input JSON data of type help_link.
Output a JSON value of type kernel_info_reply.
Serialize a value of type kernel_info_reply into a JSON string.
Input JSON data of type kernel_info_reply.
Deserialize JSON data of type kernel_info_reply.
Output a JSON value of type is_complete_request.
Serialize a value of type is_complete_request into a JSON string.
val read_is_complete_request :
Yojson.Safe.lexer_state ->
Lexing.lexbuf ->
is_complete_requestInput JSON data of type is_complete_request.
Deserialize JSON data of type is_complete_request.
Output a JSON value of type is_complete_reply.
Serialize a value of type is_complete_reply into a JSON string.
Input JSON data of type is_complete_reply.
Deserialize JSON data of type is_complete_reply.
Output a JSON value of type interrupt_reply.
Serialize a value of type interrupt_reply into a JSON string.
Input JSON data of type interrupt_reply.
Deserialize JSON data of type interrupt_reply.
Output a JSON value of type inspect_request.
Serialize a value of type inspect_request into a JSON string.
Input JSON data of type inspect_request.
Deserialize JSON data of type inspect_request.
Output a JSON value of type inspect_reply.
Serialize a value of type inspect_reply into a JSON string.
Input JSON data of type inspect_reply.
Deserialize JSON data of type inspect_reply.
Output a JSON value of type history_request.
Serialize a value of type history_request into a JSON string.
Input JSON data of type history_request.
Deserialize JSON data of type history_request.
Output a JSON value of type history_reply.
Serialize a value of type history_reply into a JSON string.
Input JSON data of type history_reply.
Deserialize JSON data of type history_reply.
Output a JSON value of type header_info.
Serialize a value of type header_info into a JSON string.
Input JSON data of type header_info.
Deserialize JSON data of type header_info.
Output a JSON value of type execute_request.
Serialize a value of type execute_request into a JSON string.
Input JSON data of type execute_request.
Deserialize JSON data of type execute_request.
Output a JSON value of type execute_reply.
Serialize a value of type execute_reply into a JSON string.
Input JSON data of type execute_reply.
Deserialize JSON data of type execute_reply.
Output a JSON value of type execute_error.
Serialize a value of type execute_error into a JSON string.
Input JSON data of type execute_error.
Deserialize JSON data of type execute_error.
Output a JSON value of type display_data.
Serialize a value of type display_data into a JSON string.
Input JSON data of type display_data.
Deserialize JSON data of type display_data.
Output a JSON value of type connection_info.
Serialize a value of type connection_info into a JSON string.
Input JSON data of type connection_info.
Deserialize JSON data of type connection_info.
Output a JSON value of type connect_reply.
Serialize a value of type connect_reply into a JSON string.
Input JSON data of type connect_reply.
Deserialize JSON data of type connect_reply.
Output a JSON value of type complete_request.
Serialize a value of type complete_request into a JSON string.
Input JSON data of type complete_request.
Deserialize JSON data of type complete_request.
Output a JSON value of type complete_reply.
Serialize a value of type complete_reply into a JSON string.
Input JSON data of type complete_reply.
Deserialize JSON data of type complete_reply.
Output a JSON value of type comm_info_request.
Serialize a value of type comm_info_request into a JSON string.
Input JSON data of type comm_info_request.
Deserialize JSON data of type comm_info_request.
Output a JSON value of type clear_output.
Serialize a value of type clear_output into a JSON string.
Input JSON data of type clear_output.
Deserialize JSON data of type clear_output.