Genshi (templating language)

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.

Genshi
Developer(s)Edgewall Software
Initial releaseAugust 3, 2006 (2006-08-03)
Stable release
0.7.7  / 22 April 2022 (22 April 2022)
Repository
Operating systemCross-platform
TypeTemplate Engine
License3-clause BSD license
Websitegenshi.edgewall.org

Genshi can be used with several Python web frameworks, such as CherryPy, TurboGears, Pylons and web2py. Genshi was the default templating language for TurboGears from versions 1.1 to 2.3.8.

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.