Skip to content

kalavt/exceltpl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

how to use

jinja_env = jinja2.Environment() jinja_env.globals["now"] = datetime.datetime.now jinja_env.add_extension("jinja2.ext.do")

data = {'product':'exceltpl',"version":'0.0.1','terminology':[{'key':'N/A','value':'Not applicable'}]}

doc = xlsxDocument("examples/example.xlsx", data, jinja_env) doc.render() doc.save("examples/result.xlsx")

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages