• OCaml logo OCaml logo
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Searching...
    Or go to: Standard Library API
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Get started
  • pythonlib

  • Documentation
  • pythonlib lib
  • Python_lib .Class_wrapper Module
package pythonlib
  • pythonlib
    • Python_lib
      • Broadcast
        • Applicative_infix
        • Let_syntax
          • Let_syntax
        • Open_on_rhs_intf
          • S
            • Applicative_infix
      • Class_wrapper
        • Init
        • Method
      • Convert_as_string
        • M
      • Defunc
        • Applicative_infix
        • Let_syntax
          • Let_syntax
        • Of_python
        • Open_on_rhs_intf
        • Param
      • Gen
      • Let_syntax
        • Let_syntax
      • Module_env
        • Path
      • Of_pythonable
        • Conv
        • Pythonable
      • One_or_tuple
      • One_or_tuple_or_list
      • One_or_tuple_or_list_or_error
      • Or_error_python
      • Py_module
        • Raw
      • Py_typerep
        • Named_types
      • Type
        • Arg
Legend:
Library
Module
Module type
Parameter
Class
Class type
type _ t
val wrap : 'a t -> 'a -> Pytypes.pyobject
val unwrap_exn : 'a t -> Pytypes.pyobject -> 'a
val unwrap : 'a t -> Pytypes.pyobject -> 'a Base.option
module Init : sig ... end
module Method : sig ... end
val make : ?to_string_repr:('a t -> 'a -> Base.string) -> ?to_string:('a t -> 'a -> Base.string) -> ?eq:('a t -> 'a -> 'a -> Base.bool) -> ?init:'a Init.t -> ?fields:(Base.string * Pytypes.pyobject) Base.list -> Base.string -> methods:'a Method.t Base.list -> 'a t
val register_in_module : 'a t -> Py_module.t -> Base.unit
val clear_content : 'a t -> Pytypes.pyobject -> Base.unit
val set_content : 'a t -> Pytypes.pyobject -> 'a -> Base.unit
val cls_object : 'a t -> Pytypes.pyobject
val is_instance : 'a t -> Pytypes.pyobject -> Base.bool

Footer

OCaml

Innovation. Community. Security.

GitHub Discord Twitter Peertube RSS

About Us

  • Industrial Users
  • Academic Users
  • Why OCaml

Resources

  • Get Started
  • Language Manual
  • Standard Library API
  • Books
  • Releases

Community

  • Blog
  • Jobs

Policies

  • Carbon Footprint
  • Governance
  • Privacy
  • Code of Conduct