Have a dataiku templating engine based on Python mako or jinja

0 Kudos

Hi,

 

Python based templating engines like jinja and mako allow users to 'print' text in various formats, using conditional logic statements like if-else and for loops.  I think dataiku should offer an off the shelf Python based templating engine that would allow users to upload their template(s) and pass a `context dict` to the templating engine to apply.  The templating engine would be a recipe in and of itself where users could define a context dictionary in JSON like variables.  Or they could add dataset inputs that they could preprocess with Python to generate their context dict.  The output would the printed files, either as standalone files or as a dictionary of strings with the key being the name of the printed file and the value being the printed text.

 

thx