package lymp

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
exception Unknown_return_type of string
exception Wrong_Pytype of string
exception Expected_reference_not_module
exception Could_not_create_pipe
exception Pyexception of string
type pycommunication
type pycallable
type pyobj =
  1. | Pystr of string
  2. | Pyint of int
  3. | Pyfloat of float
  4. | Pybool of bool
  5. | Pybytes of bytes
  6. | Pyref of pycallable
  7. | Pytuple of pyobj list
  8. | Pylist of pyobj list
  9. | Pynone
  10. | Namedarg of string * pyobj
val get_module : pycommunication -> string -> pycallable
val builtins : pycommunication -> pycallable
val call : pycallable -> string -> pyobj list -> unit
val get : pycallable -> string -> pyobj list -> pyobj
val get_string : pycallable -> string -> pyobj list -> string
val get_int : pycallable -> string -> pyobj list -> int
val get_float : pycallable -> string -> pyobj list -> float
val get_bool : pycallable -> string -> pyobj list -> bool
val get_bytes : pycallable -> string -> pyobj list -> bytes
val get_ref : pycallable -> string -> pyobj list -> pycallable
val get_tuple : pycallable -> string -> pyobj list -> pyobj list
val get_list : pycallable -> string -> pyobj list -> pyobj list
val attr : pycallable -> string -> pyobj
val attr_string : pycallable -> string -> string
val attr_int : pycallable -> string -> int
val attr_float : pycallable -> string -> float
val attr_bool : pycallable -> string -> bool
val attr_bytes : pycallable -> string -> bytes
val attr_ref : pycallable -> string -> pycallable
val attr_tuple : pycallable -> string -> pyobj list
val attr_list : pycallable -> string -> pyobj list
val set_attr : pycallable -> string -> pyobj -> unit
val dereference : pycallable -> pyobj
val close : pycommunication -> unit
val init : ?exec:string -> ?ocamlfind:bool -> ?lymppy_dirpath:string -> string -> pycommunication