def render_plugin(values):
 env = jinja2.Environment(loader=jinja2.FileSystemLoader(os.path.join(os.path.dirname(__file__), 'templates')), auto_reload=False, keep_trailing_newline=True, autoescape=True)
 template = env.get_template('new_plugin.py.tmpl')
 return template.render(**values)

def render_plugin ( values ) : env = jinja2 . Environment ( loader = jinja2 . FileSystemLoader ( os . path . join ( os . path . dirname ( __file__ ) , 'templates' ) ) , auto_reload = False , keep_trailing_newline = True , autoescape = True ) template = env . get_template ( 'new_plugin.py.tmpl' ) return template . render ( ** values )
render the jinja template for the plugin with the given values .