Module Py
include Py__.Py_base
Py
val pyobject : pyobject Ctypes.typ
exceptionInvalid_typeexceptionInvalid_objectexceptionPython_error of stringexceptionEnd_iteration
module C = Py__.Py_base.CC makes the underlying Python C libraries available
module Object = Py__.Py_base.ObjectObject defines functions for working with generic Python objects
module PyNumber = Py__.Py_base.PyNumbermodule PyIter = Py__.Py_base.PyItermodule PyDict = Py__.Py_base.PyDictmodule PyList = Py__.Py_base.PyListmodule PySet = Py__.Py_base.PySetmodule PyTuple = Py__.Py_base.PyTuplemodule PySlice = Py__.Py_base.PySliceval get_module_dict : unit -> Object.t
module PyModule = Py__.Py_base.PyModulemodule PyCell = Py__.Py_base.PyCellmodule PyWeakref = Py__.Py_base.PyWeakrefmodule PyThreadState = Py__.Py_base.PyThreadStateval new_interpreter : unit -> PyThreadState.tval end_interpreter : PyThreadState.t -> unit
module PyBytes = Py__.Py_base.PyBytesmodule PyUnicode = Py__.Py_base.PyUnicodemodule PyBuffer = Py__.Py_base.PyBuffermodule PyByteArray = Py__.Py_base.PyByteArraytype t=|Ptr of Object.t|Cell of Object.t|Nil|Bool of bool|Int of int|Int64 of int64|Float of float|String of string|Bytes of Stdlib.Bytes.t|List of t list|Tuple of t array|Dict of (t * t) list|Set of t list|Slice of t * t * t
val to_object : t -> Object.tval initialize : ?initsigs:bool -> unit -> unitval finalize : unit -> unitval exec : string -> boolExecute a string for side-effects only
val locals : unit -> Object.t optionval globals : unit -> Object.t optionval builtins : unit -> Object.tval eval : ?globals:t -> ?locals:t -> string -> Object.tEvaluate a string and return the response
val run : Object.t -> ?kwargs:(t * t) list -> t list -> Object.tval (!$) : t -> Object.tval ($) : Object.t -> t list -> Object.tval ($.) : Object.t -> t -> Object.tval (<-$.) : (Object.t * t) -> t -> unitval ($|) : Object.t -> t -> Object.tval (<-$|) : (Object.t * t) -> t -> unitval append_path : string list -> unitval prepend_path : string list -> unitval pickle : ?kwargs:(t * t) list -> Object.t -> bytesval unpickle : ?kwargs:(t * t) list -> bytes -> Object.tval print : ?kwargs:(t * t) list -> t list -> unitval c_function : (Object.t -> Object.t -> Object.t) -> Object.t -> name:string -> Object.tc_function fn obj ~namereturns a Python function. When this function is called on some argumentsargs,fn obj argsis called.
module Numpy = Py__.Py_base.Numpymodule CamlModule = Py__.Py_base.CamlModulemodule PyWrap = Py__.Py_wrapmodule PyType = Py__.Py_type