Module Expr Str Import alias ImportFrom alias ImportFrom alias Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Num Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Num Num NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str Num Num NameLoad FunctionDef arguments args NameParam defaults body If CompareIn Call NameLoad NameLoad TupleLoad NameLoad NameLoad body Return Call AttributeLoad NameLoad attr NameLoad If Call NameLoad NameLoad AttributeLoad NameLoad attr body Return NameLoad Raise AttributeLoad NameLoad attr Str decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults vararg body If CompareIn NameLoad TupleLoad Str Str Str body Assign NameStore Call NameLoad NameLoad NameLoad orelse Assign NameStore NameLoad If NameLoad body Assign NameStore Call NameLoad NameLoad orelse Assign NameStore Call NameLoad For NameStore NameLoad body If Call NameLoad NameLoad TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam NameParam defaults vararg body Return Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list Return Call NameLoad NameLoad NameLoad decorator_list Assign NameStore Call NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults kwarg body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Assign NameStore Call NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpMod Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpMod Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore ListLoad For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body For TupleStore NameStore NameStore Call NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Call NameLoad BinOpMod Str TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults kwarg body Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Raise NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Raise NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults Str body If BoolOpOr UnaryOpNot AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call NameLoad Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore NameLoad Assign NameStore Dict Str NameLoad Assign NameStore Dict Str NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Return Call AttributeLoad Str attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpMult Str Call NameLoad NameLoad Return BinOpMod Str TupleLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Assign NameStore Str FunctionDef arguments args NameParam defaults body Return Str decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore NameLoad Assign NameStore Dict Str NameLoad Assign NameStore Dict Str NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Return BinOpMod Str TupleLoad NameLoad AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad AttributeLoad NameLoad attr body Assign NameStore Str Assign NameStore NameLoad Assign NameStore Dict Str NameLoad Assign NameStore Dict Str NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr TryExcept body Assign NameStore Call NameLoad AttributeLoad NameLoad attr handlers ExceptHandler type TupleLoad NameLoad NameLoad body Assign NameStore Num Assign NameStore BinOpMult Str NameLoad Assign NameStore Call AttributeLoad Dict Num Num Num Num Str Str Str Str attr NameLoad Str Assign NameStore BinOpMult NameLoad Call NameLoad NameLoad Return BinOpMod Str TupleLoad NameLoad NameLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr Return BinOpAdd Call AttributeLoad Str attr NameLoad Str decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Str decorator_list ClassDef bases NameLoad body Assign NameStore Str decorator_list ClassDef bases AttributeLoad NameLoad attr NameLoad body Expr Str Assign NameStore Str Assign NameStore Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults Str body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr keyword NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad NameLoad attr Str decorator_list Assign NameStore Call NameLoad NameLoad NameLoad FunctionDef arguments args NameParam NameParam defaults kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults kwarg body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults AttributeLoad NameLoad attr body Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list
N/A N/A 
A Python Object Model document for plain text files.

This module's goal is to provide an identical API to POM/XHTML, but emit
plain text instead. As a sub-goal the plain text should be RST compatible.
It's primary purpose is to provide plain-text obtions for web frameworks
without changing any page markup generator code.

However, it currently lags far behind the XHTML document API.

 N/A sys pycopia.XML POM pycopia.aid partial N/A Text N/A POM Text N/A ANYCONTENT N/A N/A POM ContentModel N/A True N/A attribClass N/A N/A POM XMLAttribute class 8 12 None N/A attribHref N/A N/A POM XMLAttribute href 1 12 None N/A attribLevel N/A N/A POM XMLAttribute level 1 12 None check_object N/A N/A obj N/A N/A N/A N/A N/A type obj N/A str unicode N/A N/A N/A N/A POM Text obj N/A N/A isinstance obj N/A POM ElementNode N/A N/A obj N/A N/A POM ValidationError bad initializer object N/A InlineMixin N/A object N/A _init N/A N/A self dtd N/A N/A N/A N/A self dtd dtd N/A emit N/A N/A self fo N/A N/A N/A N/A N/A fo write N/A N/A self __str__ N/A N/A ContainerMixin N/A object N/A _init N/A N/A self dtd N/A N/A N/A N/A self dtd dtd N/A make_node N/A N/A self name attribs N/A content N/A N/A N/A name N/A Text ASIS Fragments N/A N/A elemclass N/A getattr POM name N/A N/A elemclass Plaintext N/A attribs N/A N/A elem N/A elemclass attribs N/A N/A elem N/A elemclass N/A cont content N/A N/A N/A isinstance cont N/A N/A POM ElementNode N/A POM Text N/A POM ASIS N/A N/A N/A N/A elem append cont N/A N/A N/A N/A elem add_text cont N/A elem N/A get_nodemaker N/A N/A self N/A N/A _make_node N/A N/A container name attribs N/A contents N/A N/A N/A N/A container make_node name attribs contents N/A N/A N/A partial _make_node self N/A N/A nodemaker N/A property get_nodemaker get_section N/A N/A self _name N/A kwargs N/A N/A sect N/A Section kwargs N/A N/A N/A sect _init N/A self dtd N/A sect N/A add_section N/A N/A self _name N/A kwargs N/A N/A sect N/A N/A self get_section _name kwargs N/A N/A N/A self append sect N/A sect N/A add_break N/A N/A self N/A N/A N/A N/A N/A self append N/A Br N/A get_para N/A N/A self N/A attribs N/A N/A p N/A Para attribs N/A N/A N/A p _init N/A self dtd N/A p N/A add_para N/A N/A self N/A attribs N/A N/A p N/A N/A self get_para attribs N/A N/A N/A self append p N/A p N/A new_para N/A N/A self text N/A attribs N/A N/A p N/A N/A self get_para attribs N/A t N/A check_object text N/A N/A N/A p append t N/A N/A N/A self append p N/A p N/A get_header N/A N/A self level text N/A kwargs N/A N/A hobj N/A Heading level level N/A N/A N/A hobj append N/A N/A POM Text text N/A hobj N/A add_header N/A N/A self level text N/A kwargs N/A N/A hobj N/A N/A self get_header level text kwargs N/A N/A N/A self append hobj N/A hobj N/A get_unordered_list N/A N/A self items N/A attribs N/A N/A rv N/A N/A item items N/A N/A N/A N/A self append N/A Plaintext N/A * %s
 item N/A rv N/A add_unordered_list N/A N/A self items N/A attribs N/A N/A item items N/A N/A N/A N/A self append N/A Plaintext N/A * %s
 item N/A get_ordered_list N/A N/A self items N/A N/A N/A rv N/A N/A N/A i item N/A enumerate items N/A N/A N/A N/A rv append N/A Plaintext N/A %d. %s
 N/A i item N/A rv N/A add_ordered_list N/A N/A self items N/A N/A N/A N/A i item N/A enumerate items N/A N/A N/A N/A self append N/A Plaintext N/A %d. %s
 N/A i item N/A add_anchor N/A N/A self N/A attribs N/A N/A NotImplementedError N/A new_anchor N/A N/A self obj N/A attribs N/A N/A NotImplementedError N/A get_table N/A N/A self N/A kwargs N/A N/A NotImplementedError N/A add_table N/A N/A self N/A kwargs N/A N/A NotImplementedError N/A emit N/A N/A self fo encoding N/A ascii N/A N/A N/A N/A N/A self CONTENTMODEL N/A N/A N/A self CONTENTMODEL is_empty N/A N/A N/A N/A fo write N/A N/A self __str__ N/A N/A N/A N/A fo write N/A N/A self __str__ N/A N/A map N/A N/A N/A o N/A N/A N/A o emit fo N/A self _children N/A N/A Plaintext N/A ContainerMixin N/A POM ElementNode N/A N/A _name text N/A CONTENTMODEL ANYCONTENT N/A ATTRIBUTES N/A class attribClass N/A KWATTRIBUTES N/A class_ attribClass __str__ N/A N/A self N/A N/A N/A s N/A map str N/A self _children N/A N/A N/A join s N/A __iadd__ N/A N/A self text N/A N/A N/A N/A N/A self add_text N/A str text N/A self N/A N/A Title N/A InlineMixin N/A POM ElementNode N/A N/A _name title N/A CONTENTMODEL ANYCONTENT __str__ N/A N/A self N/A N/A N/A t N/A N/A self get_text N/A line N/A = N/A len t N/A N/A %s
%s
%s

 N/A line t line N/A N/A Br N/A ContainerMixin N/A POM ElementNode N/A N/A _name br __str__ N/A N/A self N/A N/A N/A N/A N/A A N/A ContainerMixin N/A POM ElementNode N/A N/A _name a N/A CONTENTMODEL ANYCONTENT N/A ATTRIBUTES N/A href attribHref N/A KWATTRIBUTES N/A href attribHref __str__ N/A N/A self N/A N/A N/A t N/A N/A self get_text N/A N/A %s [%s]  N/A t N/A self href N/A N/A Heading N/A ContainerMixin N/A POM ElementNode N/A N/A _name heading N/A CONTENTMODEL ANYCONTENT N/A ATTRIBUTES N/A level attribLevel N/A KWATTRIBUTES N/A level attribLevel __str__ N/A N/A self N/A N/A N/A t N/A N/A self get_text N/A N/A N/A level N/A int N/A self level N/A N/A N/A N/A ValueError TypeError N/A N/A level 0 N/A indent N/A level N/A lc N/A N/A N/A 0 1 2 3 = - _ * get level + N/A line N/A lc N/A len t N/A N/A %s%s
%s%s
 N/A indent t indent line N/A N/A Para N/A Plaintext N/A N/A _name para __str__ N/A N/A self N/A N/A N/A s N/A map str N/A self _children N/A N/A N/A N/A join s N/A N/A Section N/A Plaintext N/A N/A _name section N/A Chapter N/A Plaintext N/A N/A _name chapter N/A TextDocument N/A N/A POM POMDocument ContainerMixin N/A N/A POM document for text/plain documents.
    This document object is intended to have the same interface as the
    XHTMLDocument as much as possible. But it will produce plain text that
    is recognizable by the reStructuredText parser.
     N/A XMLHEADER N/A DOCTYPE N/A MIMETYPE text/plain __init__ N/A N/A self encoding N/A ascii N/A N/A dtd N/A N/A sys modules N/A __name__ N/A N/A N/A N/A super TextDocument self __init__ dtd dtd encoding encoding N/A initialize N/A N/A self N/A N/A N/A N/A N/A self set_root N/A Plaintext N/A __iadd__ N/A N/A self text N/A N/A N/A N/A N/A N/A self root add_text text N/A self N/A add_text N/A N/A self text N/A N/A N/A N/A N/A N/A self root add_text text N/A __str__ N/A N/A self N/A N/A N/A N/A str N/A self root N/A emit N/A N/A self fo N/A N/A N/A N/A N/A N/A self root emit fo N/A add_title N/A N/A self title N/A N/A N/A ti N/A Title N/A N/A N/A ti append N/A Text title N/A N/A N/A N/A self root insert 0 ti N/A ti N/A _get_title N/A N/A self N/A N/A N/A N/A N/A self get_path /title N/A N/A title N/A property _get_title add_title append N/A N/A self obj N/A kwargs N/A N/A N/A N/A N/A self root append obj N/A insert N/A N/A self ind obj N/A kwargs N/A N/A N/A N/A N/A self root insert ind obj N/A N/A new_document N/A N/A encoding N/A N/A POM DEFAULT_ENCODING N/A N/A doc N/A TextDocument encoding N/A N/A N/A doc initialize N/A doc N/A