Developer(s) | Edgewall Software |
---|---|
Initial release | August 3, 2006 |
Stable release | 0.7.9[1]
/ 15 June 2024 |
Repository | |
Operating system | Cross-platform |
Type | Template Engine |
License | 3-clause BSD license[2] |
Website | genshi |
Genshi is a template engine for XML-based vocabularies written in Python. Genshi is used to easily insert generated output into XML-based languages, usually HTML, and reuse elements between documents. Genshi's syntax is based on Kid, but its architecture is different. Genshi aims to implement some of its functionality while processing templates faster, by dynamically processing templates using a stream based API, instead of compiling templates to Python code.[3]
Genshi can be used with several Python web frameworks, such as CherryPy,[4][5] TurboGears,[6] Pylons[7] and web2py.[8] Genshi was the default templating language for TurboGears from versions 1.1[9] to 2.3.8.[10]