genshi

Package genshi |

# Package genshi

This package provides various means for generating and processing web markup (XML or HTML).

The design is centered around the concept of streams of markup events (similar in concept to SAX parsing events) which can be processed in a uniform manner independently of where or how they are produced.

Version: 0.7

Submodules
genshi.builder: Support for programmatically generating markup streams from Python code using a very simple syntax. The main entry point to this module is the tag object (which is actually an instance of the `ElementFactory` class). You should rarely (if ever) need to directly import and use any of the other classes in this module. genshi.compat: Various Python version compatibility classes and functions. genshi.core: Core classes for markup processing. genshi.filters: Implementation of a number of stream filters. genshi.filters.html: Implementation of a number of stream filters. genshi.filters.i18n: Directives and utilities for internationalization and localization of templates. genshi.filters.transform: A filter for functional-style transformations of markup streams. genshi.input: Support for constructing markup streams from files, strings, or other sources. genshi.output: This module provides different kinds of serialization methods for XML event streams. genshi.path: Basic support for evaluating XPath expressions against streams. genshi.template: Implementation of the template engine. genshi.template._ast24 genshi.template.ast24: Emulation of the proper abstract syntax tree API for Python 2.4. genshi.template.astutil: Support classes for generating code from abstract syntax trees. genshi.template.base: Basic templating functionality. genshi.template.directives: Implementation of the various template directives. genshi.template.eval: Support for "safe" evaluation of Python expressions. genshi.template.interpolation: String interpolation routines, i.e. the splitting up a given text into some parts that are literal strings, and others that are Python expressions. genshi.template.loader: Template loading and caching. genshi.template.markup: Markup templating engine. genshi.template.plugin: Basic support for the template engine plugin API used by TurboGears and CherryPy/Buffet. genshi.template.text: Plain text templating engine. genshi.util: Various utility classes and functions.

Variables
| __package__ = ``'``genshi``'``