package pyml

  1. Overview
  2. Docs
``py.ml``: OCaml bindings for Python

Install

Dune Dependency

Authors

Maintainers

Sources

pyml-20161224.tar.gz
sha256=2438f53edcba823ebd1ef94bf59cab8e0b4c12bb8d1ee573b7744707f963dc4c
md5=ea8f445792ba5c8a7d5b6f4bf6bb31cd

Description

====================================

py.ml provides OCaml bindings for Python 2 and Python 3. This library subsumes the pycaml library, which is no longer actively maintained.

Homepage: http://pyml.gforge.inria.fr

Documentation: http://pyml.gforge.inria.fr/doc

Git: git clone http://pyml.gforge.inria.fr/pyml.git

Git Repository Browser: http://pyml.gforge.inria.fr/browser

Tracker for bug reports and feature requests: http://pyml.gforge.inria.fr/tracker

OPAM: opam install pyml

The Python library is linked at runtime and the same executable can be run in a Python 2 or a Python 3 environment. py.ml does not require any Python library at compile time, nor any other dependency.

Bindings are split in three modules:

  • Py provides the initialization functions and some high-level bindings, with error handling and naming conventions closer to OCaml usages.

  • Pycaml provides a signature close to the old Pycaml module, so as to ease migration.

  • Pywrappers provides low-level bindings, which follow closely the conventions of the C bindings for Python. Submodules Pywrappers.Python2 and Pywrappers.Python3 contain version-specific bindings.

Published: 26 Dec 2016

Dependencies (2)

  1. ocamlfind build
  2. ocaml < "5.0"

Dev Dependencies

None

Used by (3)

  1. coccinelle = "1.0.7"
  2. owi >= "0.2"
  3. pyml_bindgen

Conflicts

None

OCaml

Innovation. Community. Security.