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
CRISAM - Inria Sophia Antipolis - Méditerranée , INRA - Institut National de la Recherche Agronomique, UMR AGAP - Amélioration génétique et adaptation des plantes méditerranéennes et tropicales
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.
Document type :
Preprints, Working Papers, ...
Complete list of metadata
Contributor : Christophe Godin Connect in order to contact the contributor
Submitted on : Thursday, June 1, 2017 - 8:15:58 PM
Last modification on : Saturday, January 22, 2022 - 3:08:00 AM

Links full text


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


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



Les métriques sont temporairement indisponibles