Genshi (templating language)

Genshi
Developer(s)Edgewall Software
Initial releaseAugust 3, 2006; 18 years ago (2006-08-03)
Stable release
0.7.9[1] Edit this on Wikidata / 15 June 2024; 4 months ago (15 June 2024)
Repository
Operating systemCross-platform
TypeTemplate Engine
License3-clause BSD license[2]
Websitegenshi.edgewall.org

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]

  1. ^ "Release 0.7.9". 15 June 2024. Retrieved 22 June 2024.
  2. ^ "License – Genshi".
  3. ^ "What is Genshi?". Retrieved 2008-01-20.
  4. ^ "CherryPy – Genshi". Retrieved 2009-09-26.
  5. ^ "Genshi - CherryPy Tools - Trac". Archived from the original on 2012-02-27. Retrieved 2009-09-26.
  6. ^ "Genshi Templating". Archived from the original on 2012-07-16. Retrieved 2008-01-20.
  7. ^ "Genshi Templates - Pylons Cookbook". Archived from the original on 2012-04-16. Retrieved 2008-01-20.
  8. ^ "web2py: Enterprise Web Framework". Retrieved 2009-09-26.
  9. ^ Ramm, Mark. "TurboGears 1.1 and Beyond". Archived from the original on 2012-07-05. Retrieved 2008-01-20.
  10. ^ Molina, Alessandro. "Docs Review". Retrieved 2024-01-18.