package ppx_python

  1. Overview
  2. Docs
[@@deriving] plugin to generate Python conversion functions

Install

Dune Dependency

Authors

Maintainers

Sources

ppx_python-v0.14.0.tar.gz
sha256=3ac06fc8cf5eda170310e7c1c2cbc25b9abc858dc505b74b595fbed951489f56
md5=5bc068895727c64886e5c323e79b608e

doc/ppx_python.runtime/Ppx_python_runtime/index.html

Module Ppx_python_runtime

val python_of_bool : bool -> Pytypes.pyobject
val bool_of_python : Pytypes.pyobject -> bool
val python_of_int : int -> Pytypes.pyobject
val int_of_python : Pytypes.pyobject -> int
val python_of_float : float -> Pytypes.pyobject
val float_of_python : Pytypes.pyobject -> float
val python_of_string : string -> Pytypes.pyobject
val string_of_python : Pytypes.pyobject -> string
val python_of_array : ('a -> Pytypes.pyobject) -> 'a array -> Pytypes.pyobject
val array_of_python : (Pytypes.pyobject -> 'a) -> Pytypes.pyobject -> 'a array
val python_of_list : ('a -> Pytypes.pyobject) -> 'a list -> Pytypes.pyobject
val list_of_python : (Pytypes.pyobject -> 'a) -> Pytypes.pyobject -> 'a list
val python_of_option : ('a -> Pytypes.pyobject) -> 'a option -> Pytypes.pyobject
val option_of_python : (Pytypes.pyobject -> 'a) -> Pytypes.pyobject -> 'a option
OCaml

Innovation. Community. Security.