jupyter

An OCaml kernel for Jupyter notebook
IN THIS PACKAGE
type t = comm
val to_string : t -> string
val comms : ?target_name:string -> unit -> (t * Target.t) list

Get all opened comms.

  • parameter target_name

    filtering by a target name. default = no filter

val create : ?data:Yojson.Safe.t -> Target.t -> t

Send an open message to Jupyter.

val close : ?data:Yojson.Safe.t -> t -> unit

Send a close message to Jupyter.

val send : t -> Yojson.Safe.t -> unit

Send a message to Jupyter.