Skip to main content
Help us improve Python packaging – donate today!

Genshi template compiler

Project Description

Genshi Compiler allows for compiling simple Genshi XML templates to pure Python code. You can render the whole template or any of the template functions by importing generated code. The generated code is typically ~40x faster than rendering the same via Genshi. There is a cost of this speedup. Some of Genshi’s dynamic features are not available, most notably anything that depends on a template loader (xi:include, xi:fallback), the XML element tree representation (py:match) or the token stream (filters). Language translation (i18n) support is currently limited to simple text inside the translatable elements and attributes and the i18n:msg directive.

Release history Release notifications

This version
History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
genshi-compiler-0.1.2.tar.gz (28.7 kB) Copy SHA256 hash SHA256 Source None Oct 23, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page