package iocaml-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.json
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 object_info_request = {
  1. oname : string;
  2. detail_level : int;
}
type arg_spec = {
  1. args : string list;
  2. varargs : string;
  3. varkw : string;
  4. defaults : string list;
}
type object_info_reply = {
  1. name : string;
  2. found : bool;
  3. ismagic : bool;
  4. isalias : bool;
  5. namespace : string;
  6. type_name : string;
  7. string_form : string;
  8. base_class : string;
  9. length : int;
  10. oi_file : string;
  11. definition : string;
  12. argspec : arg_spec;
  13. init_definition : string;
  14. docstring : string;
  15. class_docstring : string;
  16. call_def : string;
  17. call_docstring : string;
  18. oi_source : string;
}
type kernel_info_reply = {
  1. protocol_version : int list;
  2. language_version : int list;
  3. language : string;
}
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. username : string;
  3. session : string;
  4. msg_id : string;
  5. 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 display_data = {
  1. dd_source : string;
  2. dd_data : dyn;
  3. dd_metadata : dyn;
}
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. matched_text : string;
  3. cr_status : string;
}
type clear_output = {
  1. wait : bool;
  2. stdout : bool;
  3. stderr : bool;
  4. other : bool;
}
OCaml

Innovation. Community. Security.