mivade / cookiecutter-python-swig-module

Cookiecutter template for Python extensions using Numpy and SWIG

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cookiecutter-python-swig-module

A cookiecutter for creating SWIG-based Python extensions with built-in support for Numpy.

What's included

  • setup.py to build an extension module with C++14 enabled by default and using Numpy
  • Skeleton header and C++ source files
  • Basic SWIG interface file

Prerequisites

  • Swig must be installed for the extension module to build

Usage

$ cookiecutter gh:mivade/cookiecutter-python-swig-module

About

Cookiecutter template for Python extensions using Numpy and SWIG


Languages

Language:C 98.2%Language:Python 1.5%Language:Makefile 0.2%Language:C++ 0.1%