package iocaml-kernel

  1. Overview
  2. Docs
type stream = Ipython_json_t.stream = {
  1. st_name : string;
  2. st_data : string;
}
type status = Ipython_json_t.status = {
  1. execution_state : string;
}
type shutdown = Ipython_json_t.shutdown = {
  1. restart : bool;
}
type dyn = Yojson.Safe.json
type pyout = Ipython_json_t.pyout = {
  1. po_execution_count : int;
  2. po_data : dyn;
  3. po_metadata : dyn;
}
type pyin = Ipython_json_t.pyin = {
  1. pi_code : string;
  2. pi_execution_count : int;
}
type payload = Ipython_json_t.payload = {
  1. html : string;
  2. source : string;
  3. start_line_number : int;
  4. text : string;
}
type object_info_request = Ipython_json_t.object_info_request = {
  1. oname : string;
  2. detail_level : int;
}
type arg_spec = Ipython_json_t.arg_spec = {
  1. args : string list;
  2. varargs : string;
  3. varkw : string;
  4. defaults : string list;
}
type object_info_reply = Ipython_json_t.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 = Ipython_json_t.kernel_info_reply = {
  1. protocol_version : int list;
  2. language_version : int list;
  3. language : string;
}
type history_request = Ipython_json_t.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 = Ipython_json_t.history_reply = {
  1. history : string list;
}
type header_info = Ipython_json_t.header_info = {
  1. date : string;
  2. username : string;
  3. session : string;
  4. msg_id : string;
  5. msg_type : string;
}
type execute_request = Ipython_json_t.execute_request = {
  1. code : string;
  2. silent : bool;
  3. store_history : bool;
  4. user_expressions : dyn;
  5. allow_stdin : bool;
}
type execute_reply = Ipython_json_t.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 = Ipython_json_t.display_data = {
  1. dd_source : string;
  2. dd_data : dyn;
  3. dd_metadata : dyn;
}
type connection_info = Ipython_json_t.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 = Ipython_json_t.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 = Ipython_json_t.complete_request = {
  1. line : string;
  2. cursor_pos : int;
}
type complete_reply = Ipython_json_t.complete_reply = {
  1. matches : string list;
  2. matched_text : string;
  3. cr_status : string;
}
type clear_output = Ipython_json_t.clear_output = {
  1. wait : bool;
  2. stdout : bool;
  3. stderr : bool;
  4. other : bool;
}
val write_stream : Bi_outbuf.t -> stream -> unit
val string_of_stream : ?len:int -> stream -> string
val read_stream : Yojson.Safe.lexer_state -> Lexing.lexbuf -> stream
val stream_of_string : string -> stream
val write_status : Bi_outbuf.t -> status -> unit
val string_of_status : ?len:int -> status -> string
val read_status : Yojson.Safe.lexer_state -> Lexing.lexbuf -> status
val status_of_string : string -> status
val write_shutdown : Bi_outbuf.t -> shutdown -> unit
val string_of_shutdown : ?len:int -> shutdown -> string
val read_shutdown : Yojson.Safe.lexer_state -> Lexing.lexbuf -> shutdown
val shutdown_of_string : string -> shutdown
val write_dyn : Bi_outbuf.t -> dyn -> unit
val string_of_dyn : ?len:int -> dyn -> string
val read_dyn : Yojson.Safe.lexer_state -> Lexing.lexbuf -> dyn
val dyn_of_string : string -> dyn
val write_pyout : Bi_outbuf.t -> pyout -> unit
val string_of_pyout : ?len:int -> pyout -> string
val read_pyout : Yojson.Safe.lexer_state -> Lexing.lexbuf -> pyout
val pyout_of_string : string -> pyout
val write_pyin : Bi_outbuf.t -> pyin -> unit
val string_of_pyin : ?len:int -> pyin -> string
val read_pyin : Yojson.Safe.lexer_state -> Lexing.lexbuf -> pyin
val pyin_of_string : string -> pyin
val write_payload : Bi_outbuf.t -> payload -> unit
val string_of_payload : ?len:int -> payload -> string
val read_payload : Yojson.Safe.lexer_state -> Lexing.lexbuf -> payload
val payload_of_string : string -> payload
val write_object_info_request : Bi_outbuf.t -> object_info_request -> unit
val string_of_object_info_request : ?len:int -> object_info_request -> string
val read_object_info_request : Yojson.Safe.lexer_state -> Lexing.lexbuf -> object_info_request
val object_info_request_of_string : string -> object_info_request
val write_arg_spec : Bi_outbuf.t -> arg_spec -> unit
val string_of_arg_spec : ?len:int -> arg_spec -> string
val read_arg_spec : Yojson.Safe.lexer_state -> Lexing.lexbuf -> arg_spec
val arg_spec_of_string : string -> arg_spec
val write_object_info_reply : Bi_outbuf.t -> object_info_reply -> unit
val string_of_object_info_reply : ?len:int -> object_info_reply -> string
val read_object_info_reply : Yojson.Safe.lexer_state -> Lexing.lexbuf -> object_info_reply
val object_info_reply_of_string : string -> object_info_reply
val write_kernel_info_reply : Bi_outbuf.t -> kernel_info_reply -> unit
val string_of_kernel_info_reply : ?len:int -> kernel_info_reply -> string
val read_kernel_info_reply : Yojson.Safe.lexer_state -> Lexing.lexbuf -> kernel_info_reply
val kernel_info_reply_of_string : string -> kernel_info_reply
val write_history_request : Bi_outbuf.t -> history_request -> unit
val string_of_history_request : ?len:int -> history_request -> string
val read_history_request : Yojson.Safe.lexer_state -> Lexing.lexbuf -> history_request
val history_request_of_string : string -> history_request
val write_history_reply : Bi_outbuf.t -> history_reply -> unit
val string_of_history_reply : ?len:int -> history_reply -> string
val read_history_reply : Yojson.Safe.lexer_state -> Lexing.lexbuf -> history_reply
val history_reply_of_string : string -> history_reply
val write_header_info : Bi_outbuf.t -> header_info -> unit
val string_of_header_info : ?len:int -> header_info -> string
val read_header_info : Yojson.Safe.lexer_state -> Lexing.lexbuf -> header_info
val header_info_of_string : string -> header_info
val write_execute_request : Bi_outbuf.t -> execute_request -> unit
val string_of_execute_request : ?len:int -> execute_request -> string
val read_execute_request : Yojson.Safe.lexer_state -> Lexing.lexbuf -> execute_request
val execute_request_of_string : string -> execute_request
val write_execute_reply : Bi_outbuf.t -> execute_reply -> unit
val string_of_execute_reply : ?len:int -> execute_reply -> string
val read_execute_reply : Yojson.Safe.lexer_state -> Lexing.lexbuf -> execute_reply
val execute_reply_of_string : string -> execute_reply
val write_display_data : Bi_outbuf.t -> display_data -> unit
val string_of_display_data : ?len:int -> display_data -> string
val read_display_data : Yojson.Safe.lexer_state -> Lexing.lexbuf -> display_data
val display_data_of_string : string -> display_data
val write_connection_info : Bi_outbuf.t -> connection_info -> unit
val string_of_connection_info : ?len:int -> connection_info -> string
val read_connection_info : Yojson.Safe.lexer_state -> Lexing.lexbuf -> connection_info
val connection_info_of_string : string -> connection_info
val write_connect_reply : Bi_outbuf.t -> connect_reply -> unit
val string_of_connect_reply : ?len:int -> connect_reply -> string
val read_connect_reply : Yojson.Safe.lexer_state -> Lexing.lexbuf -> connect_reply
val connect_reply_of_string : string -> connect_reply
val write_complete_request : Bi_outbuf.t -> complete_request -> unit
val string_of_complete_request : ?len:int -> complete_request -> string
val read_complete_request : Yojson.Safe.lexer_state -> Lexing.lexbuf -> complete_request
val complete_request_of_string : string -> complete_request
val write_complete_reply : Bi_outbuf.t -> complete_reply -> unit
val string_of_complete_reply : ?len:int -> complete_reply -> string
val read_complete_reply : Yojson.Safe.lexer_state -> Lexing.lexbuf -> complete_reply
val complete_reply_of_string : string -> complete_reply
val write_clear_output : Bi_outbuf.t -> clear_output -> unit
val string_of_clear_output : ?len:int -> clear_output -> string
val read_clear_output : Yojson.Safe.lexer_state -> Lexing.lexbuf -> clear_output
val clear_output_of_string : string -> clear_output
OCaml

Innovation. Community. Security.