Index of the kid module
-
m
kid
...
- Pythonic, XML Templating
- a __email__ ...
- a output_methods ...
- a KID_XMLNS ...
- a output_formats ...
-
C
BaseTemplate
...
- Base class for compiled Templates.
- a serializer ...
- f pull ... - Returns an iterator over the items in this template.
- f defined ...
- f serialize ... - Execute a template and return a single string.
- f transform ... - Execute the template and apply any match transformations.
- f content ...
- f value_of ...
- f __iter__ ...
- f write ... - Execute template and write output to file.
- f __unicode__ ...
- f __init__ ... - Initialize a template with instance attributes specified by keyword arguments.
- f initialize ...
- f generate ... - Execute template and generate serialized output incrementally.
- f load_template ... - Bypass import machinery and load a template module directly.
- f Template ... - Get a Template class quickly given a module name, file, or string.
- f enable_import ... - Enable the kid module loader and import hooks.
- f import_template ... - Import template by name.
- m util ... - Utility functions for Kid.
-
m
namespace
...
- Namespace handling.
-
C
Namespace
...
- f __getitem__ ...
- f __equals__ ...
- f qname ...
- f __init__ ...
- f __unicode__ ...
- f clarkname ...
-
C
Namespace
...
- m filter ... - Kid tranformations
-
m
format
...
- Infoset serialization format styles.
-
C
Format
...
- Formatting details for Serializers.
- a re_trailing_blanks ...
- a re_emdash ...
- a re_dbackticks ...
- a re_endash ...
- a re_squote_left ...
- a dquotes ...
- a re_dquote_left ...
- a squotes ...
- a wrap ...
- a re_squotes ...
- a re_leading_blanks ...
- a re_whitespace ...
- a re_duplicate_newlines ...
- a re_squote_right ...
- a tabsize ...
- a ellipsis ...
- a dashes ...
- a re_sbackticks ...
- a re_ellipses ...
- a re_hyphen_between_blanks ...
- a re_duplicate_blanks ...
- a re_whitespace_with_newline ...
- a re_dquote_right ...
- a re_squote_decade ...
- a apostrophe ...
- a min_level ...
- a indent ...
- a re_indentation ...
- a re_dquotes ...
- f rstrip_lines ... - Right strip XML whitespace from all lines in string.
- f simple_newlines ... - Remove all duplicate newlines in string.
- f lstrip ... - Left strip XML whitespace from string.
- f educate_quotes ... - Use proper typographic quotes in the text.
- f lstrip_blanks ... - Left strip only blanks and tabs from string.
- f educate_ellipses ... - Replace ellipses (...).
- f __init__ ... - Create an output format with given parameters.
- f educate_backticks ... - Replace backticks (`) with opening quotes.
- f lstrip_lines ... - Left strip XML whitespace from all lines in string.
- f educate_dashes ... - Replace en-dashes (--) and em-dashes (---).
- f rstrip_blanks ... - Right strip only blanks and tabs from string.
- f strip ... - Strip XML whitespace from string.
- f rstrip ... - Right strip XML whitespace from string.
- f wrap_lines ... - Wrap words in text lines with offset to a maximum width.
- f indent_width ... - Calculate width of indentation.
- f simple_blanks ... - Remove all duplicate blanks in string.
- f strip_lines ... - Right strip XML whitespace from all lines in string.
- f simple_newline_whitespace ... - Simplify all whitespace containing newlines in string.
- f context_filter ... - Run all filters which need context characters.
- f text_filter ... - Run all filters which do not need a context.
- f strip_blanks ... - Strip only blanks and tabs from string.
- f filter ... - Run all filters.
- f indent_lines ... - Ident all lines in string.
- f clean_whitespace ... - Simplify and strip all whitespace in string.
- f new_offset ... - Calculate new offset after appending a string.
- f simple_whitespace ... - Simplify all whitespace in string.
- f stupefy ... - Replace typographic with simple punctuation.
-
C
Format
...
- Formatting details for Serializers.
-
m
serialization
...
- Infoset serialization formats (XML, XHTML, HTML, etc)
- a doctypes ...
-
C
XMLSerializer
...
- a decl ...
- a encoding ...
- a doctype ...
- a formatted ...
- a namespaces ...
- a format ...
- f can_be_empty_element ...
- f generate ... - Serializes an event stream to bytes of the specified encoding.
- f serialize ...
- f is_inline ...
- f format_stream ... - Apply format to stream.
- f escape_cdata ... - Escape character data.
- f write ...
- f is_formatted ...
- f escape_attrib ... - Escape attribute value.
- f apply_filters ...
- f __init__ ... - Initialize XMLSerializer.
-
C
HTMLSerializer
...
- a noescape_elements ...
- a boolean_attributes ...
- a empty_elements ...
- a formatted_elements ...
- a inline_elements ...
- a doctype ...
- f can_be_empty_element ...
- f is_escape ...
- f escape_attrib ... - Escape attribute value.
- f __init__ ... - Initialize HTMLSerializer.
- f inject_meta_content_type ... - Injects a meta tag for the content-type.
- f is_inline ...
- f escape_cdata ... - Escape character data.
- f write ...
- f apply_filters ...
- f serialize ...
- f tagname ... - Remove namespace from tag and make it lowercase.
- f generate ... - Serializes an event stream to bytes of the specified encoding.
- f format_stream ... - Apply format to stream.
- f is_formatted ...
- f inject_meta_tags ... - Injects meta tags at the start of the head section.
- f is_boolean_attribute ...
- C Serializer ...