package jupyter-kernel

  1. Overview
  2. Docs
type stream = {
  1. st_name : string;
  2. st_data : string;
}
type status = {
  1. execution_state : string;
}
type shutdown = {
  1. restart : bool;
}
type dyn = Yojson.Safe.t
type pyout = {
  1. po_execution_count : int;
  2. po_data : dyn;
  3. po_metadata : dyn;
}
type pyin = {
  1. pi_code : string;
  2. pi_execution_count : int;
}
type payload = {
  1. html : string;
  2. source : string;
  3. start_line_number : int;
  4. text : string;
}
type language_info = {
  1. li_name : string;
  2. li_version : string;
  3. li_mimetype : string;
  4. li_file_extension : string;
  5. li_codemirror_mode : string option;
}
type kernel_info_reply = {
  1. protocol_version : string;
  2. implementation : string;
  3. implementation_version : string;
  4. language_info : language_info;
  5. banner : string;
}
type is_complete_request = {
  1. icr_code : string;
}
type is_complete_reply = {
  1. icr_status : string;
  2. icr_indent : string;
}
type interrupt_reply = {
  1. status : string;
}
type inspect_request = {
  1. ir_code : string;
  2. ir_cursor_pos : int;
  3. ir_detail_level : int;
}
type inspect_reply = {
  1. ir_status : string;
  2. ir_found : bool option;
  3. ir_data : dyn option;
  4. ir_metadata : dyn option;
  5. ir_ename : string option;
  6. ir_evalue : string option;
  7. ir_traceback : string list option;
}
type history_request = {
  1. output : bool;
  2. raw : bool;
  3. hist_access_type : string;
  4. hr_session : int;
  5. start : int;
  6. stop : int;
  7. n : int;
  8. pattern : string;
  9. unique : bool;
}
type history_reply = {
  1. history : string list;
}
type header_info = {
  1. date : string;
  2. version : string;
  3. username : string option;
  4. session : string option;
  5. msg_id : string;
  6. msg_type : string;
}
type execute_request = {
  1. code : string;
  2. silent : bool;
  3. store_history : bool;
  4. user_expressions : dyn;
  5. allow_stdin : bool;
}
type execute_reply = {
  1. status : string;
  2. execution_count : int;
  3. ename : string option;
  4. evalue : string option;
  5. traceback : string list option;
  6. payload : payload list option;
  7. er_user_expressions : dyn option;
}
type execute_error = {
  1. err_ename : string;
  2. err_evalue : string;
  3. err_traceback : string list;
}
type display_data = {
  1. dd_data : dyn;
  2. dd_metadata : dyn;
  3. dd_transient : dyn option;
}
type connection_info = {
  1. stdin_port : int;
  2. ip : string;
  3. control_port : int;
  4. hb_port : int;
  5. signature_scheme : string;
  6. key : string;
  7. shell_port : int;
  8. transport : string;
  9. iopub_port : int;
}
type connect_reply = {
  1. cr_shell_port : int;
  2. cr_iopub_port : int;
  3. cr_stdin_port : int;
  4. cr_hb_port : int;
}
type complete_request = {
  1. line : string;
  2. cursor_pos : int;
}
type complete_reply = {
  1. matches : string list;
  2. cursor_start : int;
  3. cursor_end : int;
  4. cr_status : string;
}
type comm_info_request = {
  1. target_name : string;
}
type clear_output = {
  1. wait : bool;
  2. stdout : bool;
  3. stderr : bool;
  4. other : bool;
}
OCaml

Innovation. Community. Security.