Skip to Main content Skip to Navigation
Preprints, Working Papers, ...

AutoWIG: Automatic Generation of Python Bindings for C++ Libraries

Pierre Fernique 1 Christophe Pradal 1, 2
1 VIRTUAL PLANTS - Modeling plant morphogenesis at different scales, from genes to phenotype
UMR AGAP - Amélioration génétique et adaptation des plantes méditerranéennes et tropicales, INRA - Institut National de la Recherche Agronomique, CRISAM - Inria Sophia Antipolis - Méditerranée
Abstract : Most of Python and R scientific packages incorporate compiled scientific libraries to speed up the code and reuse legacy libraries. While several semi-automatic solutions exist to wrap these compiled libraries, the process of wrapping a large library is cumbersome and time consuming. In this paper, we introduce AutoWIG, a Python package that wraps automatically compiled libraries into high-level languages using LLVM/Clang technologies and the Mako templating engine. Our approach is automatic, extensible, and applies to complex C++ libraries, composed of thousands of classes or incorporating modern meta-programming constructs.
Complete list of metadatas

https://hal.inria.fr/hal-01531771
Contributor : Christophe Godin <>
Submitted on : Thursday, June 1, 2017 - 8:15:58 PM
Last modification on : Tuesday, March 17, 2020 - 2:43:23 AM

Links full text

Identifiers

  • HAL Id : hal-01531771, version 1
  • ARXIV : 1705.11000

Citation

Pierre Fernique, Christophe Pradal. AutoWIG: Automatic Generation of Python Bindings for C++ Libraries. 2017. ⟨hal-01531771⟩

Share

Metrics

Record views

295