Module Import alias ImportFrom alias ImportFrom alias FunctionDef arguments args defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr Str keyword Str keyword NameLoad Assign NameStore Str Expr Call AttributeLoad NameLoad attr Str keyword NameLoad keyword Str Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If CompareNotEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Str Return NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body If CompareNotIn Str NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Return Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str Num Expr Call AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad BinOpMod Str TupleLoad NameLoad NameLoad If CompareIs NameLoad NameLoad body Return NameLoad TryExcept body Return Call NameLoad NameLoad handlers ExceptHandler body Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list FunctionDef arguments args defaults body Assign NameStore Call NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad ImportFrom alias Assign NameStore Call AttributeLoad NameLoad attr BoolOpOr AttributeLoad NameLoad attr Num NameLoad keyword AttributeLoad NameLoad attr Print BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A optparse twisted.internet.protocol ServerFactory twisted.protocols.basic NetstringReceiver parse_args N/A N/A N/A N/A N/A usage usage: %prog [options]

This is the Poetry Transform Server.
Run it like this:

  python transformedpoetry.py

If you are in the base directory of the twisted-intro package,
you could run it like this:

  python twisted-server-1/transformedpoetry.py --port 11000

to provide poetry transformation on port 11000.
 N/A parser N/A N/A optparse OptionParser usage N/A help The port to listen on. Default to a random available port. N/A N/A N/A parser add_option --port type int help help N/A help The interface to listen on. Default is localhost. N/A N/A N/A parser add_option --iface help help default localhost N/A N/A options args N/A N/A parser parse_args N/A N/A N/A len args 0 N/A N/A N/A N/A parser error Bad arguments. N/A options N/A TransformService N/A object N/A cummingsify N/A N/A self poem N/A N/A N/A N/A N/A poem lower N/A N/A TransformProtocol N/A NetstringReceiver N/A stringReceived N/A N/A self request N/A N/A N/A N/A . request N/A N/A N/A N/A N/A self transport loseConnection N/A N/A N/A xform_name poem N/A N/A request split . 1 N/A N/A N/A self xformRequestReceived xform_name poem N/A xformRequestReceived N/A N/A self xform_name poem N/A N/A N/A new_poem N/A N/A N/A self factory transform xform_name poem N/A N/A new_poem None N/A N/A N/A N/A self sendString new_poem N/A N/A N/A N/A self transport loseConnection N/A N/A TransformFactory N/A ServerFactory N/A N/A protocol TransformProtocol __init__ N/A N/A self service N/A N/A N/A N/A self service service N/A transform N/A N/A self xform_name poem N/A N/A N/A thunk N/A getattr self N/A xform_%s N/A xform_name None N/A N/A thunk None N/A N/A None N/A N/A N/A N/A thunk poem N/A N/A N/A N/A None N/A xform_cummingsify N/A N/A self poem N/A N/A N/A N/A N/A N/A self service cummingsify poem N/A N/A main N/A N/A N/A N/A N/A options N/A parse_args N/A service N/A TransformService N/A factory N/A TransformFactory service twisted.internet reactor N/A port N/A N/A reactor listenTCP N/A N/A options port 0 factory interface N/A options iface N/A N/A Serving transforms on %s. N/A N/A N/A port getHost N/A N/A N/A reactor run N/A N/A N/A __name__ __main__ N/A N/A N/A main