English

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

Software Engineering 2017-06-01 v1

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.

Keywords

Cite

@article{arxiv.1705.11000,
  title  = {AutoWIG: Automatic Generation of Python Bindings for C++ Libraries},
  author = {Pierre Fernique and Christophe Pradal},
  journal= {arXiv preprint arXiv:1705.11000},
  year   = {2017}
}
R2 v1 2026-06-22T20:04:38.671Z