Skip to content

Latest commit

 

History

History
18 lines (12 loc) · 791 Bytes

File metadata and controls

18 lines (12 loc) · 791 Bytes

cygenja

cygenja is a very simple code generator.

What it is

cygenja takes templated Cython code as input and generates typed Cython classes and functions. The idea is to mimic the C++ template mechanism for Cython (and disregard the experimental Cython fused types. We use the excellent templating language Jinja2) and some very basic rules.

cygenja is used in most of our Cython projects.

What it is not

cygenja is not an automatic Cython code generator like the ones listed on AutoPxd. cygenja does not parse C/C++ header files to automatically produce Cython bindings.