Package tdi
[frames] | no frames]

Package tdi

source code

Template Data Interface (TDI).


Author: André Malo

License: Apache License, Version 2.0

Submodules

Classes
  NodeTreeError
The node tree was tried to be modified after it was finalized
  TemplateAttributeError
A tdi attribute could not be parsed
  TemplateError
Error in a template
  AutoUpdateWarning
An auto update error occured after the template was first loaded
  ModelMissingError
A required model method was missing
  TemplateReloadError
Error during template reload
  LexerEOFError
Unexpected EOF
  DeprecationWarning
TDI specific deprecation warning
  LexerFinalizedError
Lexer was already finalized
  NodeError
Error in node processing
  ModelError
Base error for model errors
  Error
Base exception for this package
  TemplateFactoryError
Template factory misuse
  OverlayError
Error in overlay work
  TemplateAttributeEmptyError
A tdi attribute was empty
  Warning
Base warning for this package
  TemplateEncodingError
Template encoding error
  LexerStateError
Invalid state change
  NodeWarning
A (non-fatal) inconsistency in the nodetree occured
  NodeNotFoundError
node was not found
  LexerError
Lexer Error
Variables
tdi.util.Version version = tdi.util.Version('0.9.9.7', is_dev=False, revision=4...
Version of the TDI package
tdi.factory.Factory html = _factory.Factory(parser= _soup.parser.DEFAULT_PARSER.ht...
HTML Template factory
tdi.factory.Factory xml = _factory.Factory(parser= _soup.parser.DEFAULT_PARSER.xml...
XML Template factory
tdi.factory.Factory text = _factory.Factory(parser= _text.parser.TextParser, build...
Text Template factory
Variables Details

version

Version of the TDI package
Type:
tdi.util.Version
Value:
tdi.util.Version('0.9.9.7', is_dev=False, revision=4807)

html

HTML Template factory
Type:
tdi.factory.Factory
Value:
_factory.Factory(parser= _soup.parser.DEFAULT_PARSER.html, builder= _s\
oup.builder.SoupBuilder, encoder= _soup.encoder.SoupEncoder, decoder= \
_soup.decoder.HTMLDecoder, default_eventfilter_list= (_soup.filters.En\
codingDetectFilter,),)

xml

XML Template factory
Type:
tdi.factory.Factory
Value:
_factory.Factory(parser= _soup.parser.DEFAULT_PARSER.xml, builder= _so\
up.builder.SoupBuilder, encoder= _soup.encoder.SoupEncoder, decoder= _\
soup.decoder.XMLDecoder, default_encoding= 'utf-8', default_eventfilte\
r_list= (_soup.filters.EncodingDetectFilter,),)

text

Text Template factory
Type:
tdi.factory.Factory
Value:
_factory.Factory(parser= _text.parser.TextParser, builder= _text.build\
er.TextBuilder, encoder= _text.encoder.TextEncoder, decoder= _text.dec\
oder.TextDecoder, default_encoding= 'utf-8', default_eventfilter_list=\
 (_text.filters.EncodingDetectFilter,),)