Module Expr Str ImportFrom alias Assign NameStore Call NameLoad Assign NameStore ListLoad Str Str Assign NameStore Str ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr keyword Str Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr Dict decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str Return Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad vararg kwarg body Expr Str If CompareIsNot NameLoad NameLoad body Return Call Call AttributeLoad NameLoad attr NameLoad Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam defaults body Assign NameStore IfExp CompareIsNot NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad For TupleStore NameStore NameStore AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr ListLoad TryExcept body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad handlers ExceptHandler type NameLoad body Pass orelse Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Expr Call AttributeLoad NameLoad attr keyword NameLoad Return NameLoad decorator_list Return NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str If BoolOpAnd CompareEq Call NameLoad NameLoad Num Call NameLoad SubscriptLoad NameLoad Index Num UnaryOpNot NameLoad body Raise Call NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad Return Lambda arguments args NameParam defaults NameLoad decorator_list FunctionDef arguments args NameParam defaults kwarg body Expr Str If BoolOpAnd CompareEq Call NameLoad NameLoad Num Call NameLoad SubscriptLoad Call NameLoad Call AttributeLoad NameLoad attr Index Num body Raise Call NameLoad Str Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Return Lambda arguments args NameParam defaults NameLoad decorator_list FunctionDef arguments args NameParam defaults vararg kwarg body Expr Str If AttributeLoad NameLoad attr body Raise Call NameLoad Str If CompareIn NameLoad AttributeLoad NameLoad attr body Raise Call NameLoad Str Assign NameStore Call NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr Str If CompareIn NameLoad AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return Call NameLoad NameLoad decorator_list decorator_list
N/A N/A 
Aaargh, an astonishingly awesome application argument helper
 argparse ArgumentParser N/A _NO_FUNC N/A object N/A __all__ N/A App __version__ N/A __version__ 0.4 App N/A object N/A N/A 
    Simple command line application.

    Constructor arguments are propagated to :py:class:`ArgumentParser`.
     __init__ N/A N/A self N/A args kwargs N/A N/A N/A self _parser N/A ArgumentParser args kwargs N/A N/A self _global_args N/A N/A N/A self _subparsers N/A N/A N/A self _parser add_subparsers title Subcommands N/A N/A self _pending_args N/A N/A N/A self _defaults N/A N/A arg N/A N/A self N/A args kwargs N/A N/A Add a global application argument.

        All arguments are passed on to :py:meth:`ArgumentParser.add_argument`.
         N/A N/A N/A N/A self _global_args append N/A args kwargs N/A N/A N/A N/A self _parser add_argument args kwargs N/A defaults N/A N/A self N/A kwargs N/A N/A Set global defaults.

        All arguments are passed on to :py:meth:`ArgumentParser.set_defaults`.
         N/A N/A N/A N/A self _parser set_defaults kwargs N/A cmd N/A N/A self _func name N/A _NO_FUNC None args kwargs N/A N/A Decorator to create a command line subcommand for a function.

        By default, the name of the decorated function is used as the
        name of the subcommand, but this can be overridden by specifying the
        `name` argument. Additional arguments are passed to the subcommand's
        :py:class:`ArgumentParser`.
         N/A N/A _func _NO_FUNC N/A N/A N/A N/A N/A self cmd _func N/A parser_args args N/A parser_kwargs kwargs wrapper N/A N/A func N/A N/A N/A subcommand N/A N/A name None name N/A func __name__ N/A N/A N/A parser_kwargs setdefault help N/A subparser N/A N/A N/A self _subparsers add_parser subcommand parser_args parser_kwargs N/A N/A global_args global_kwargs N/A self _global_args N/A N/A N/A N/A subparser add_argument global_args global_kwargs N/A N/A args kwargs N/A self _pending_args N/A N/A N/A N/A subparser add_argument args kwargs N/A N/A self _pending_args N/A N/A N/A N/A pending_defaults N/A N/A N/A self _defaults pop None N/A N/A N/A KeyError N/A N/A N/A N/A N/A N/A self _defaults N/A func pending_defaults N/A N/A N/A subparser set_defaults _func func N/A func N/A N/A wrapper N/A cmd_arg N/A N/A self N/A args kwargs N/A N/A Decorator to specify a command line argument for a subcommand.

        All arguments are passed on to :py:meth:`ArgumentParser.add_argument`.

        Note: this function must be used in conjunction with .cmd().
         N/A N/A N/A N/A len args 1 N/A callable N/A args N/A 0 N/A kwargs N/A N/A N/A TypeError cmd_arg() decorator requires arguments, but none were supplied N/A N/A N/A N/A self _pending_args append N/A args kwargs N/A N/A N/A N/A func N/A func N/A cmd_defaults N/A N/A self N/A kwargs N/A N/A Decorator to specify defaults for a subcommand.

        This can be useful to override global argument defaults for specific
        subcommands.

        All arguments are passed on to :py:meth:`ArgumentParser.set_defaults`.

        Note: this function must be used in conjunction with .cmd().
         N/A N/A N/A N/A len kwargs 1 N/A callable N/A N/A list N/A N/A kwargs values N/A 0 N/A N/A N/A TypeError defaults() decorator requires arguments, but none were supplied N/A N/A N/A self _defaults N/A None kwargs N/A N/A N/A N/A func N/A func N/A run N/A N/A self N/A args kwargs N/A N/A Run the application.

        This method parses the arguments and takes the appropriate actions. If
        a valid subcommand was found, it will be executed and its return value
        will be returned.

        All arguments are passed on to :py:meth:`ArgumentParser.parse_args`.
         N/A N/A self _pending_args N/A N/A N/A TypeError cmd_arg() called without matching cmd() N/A N/A None N/A self _defaults N/A N/A N/A TypeError cmd_defaults() called without matching cmd() N/A kwargs N/A vars N/A N/A N/A self _parser parse_args args kwargs N/A func N/A N/A kwargs pop _func N/A N/A func N/A self _defaults N/A N/A N/A N/A kwargs update N/A N/A self _defaults N/A func N/A N/A func kwargs N/A N/A