Module Expr Str Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias alias alias ImportFrom alias ClassDef bases body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Num Assign NameStore NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore NameLoad Assign NameStore NameLoad Assign NameStore Dict Str Str NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str Str Num NameLoad NameLoad Num NameLoad NameLoad Assign NameStore Dict Assign NameStore NameLoad Assign NameStore Dict Str Num FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad If UnaryOpNot NameLoad body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr NameLoad If BoolOpAnd CompareIs NameLoad NameLoad CompareIsNot AttributeLoad NameLoad attr NameLoad UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If BoolOpAnd CompareIn Str AttributeLoad NameLoad attr CompareNotEq SubscriptLoad AttributeLoad NameLoad attr Index Str Str body Assign SubscriptStore AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareIn NameLoad AttributeLoad NameLoad attr body If BoolOpAnd CompareEq NameLoad Str CompareIn Str AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str CompareIsNot Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body TryExcept body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad AttributeLoad NameLoad attr Index Str handlers ExceptHandler type NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad If CompareIn NameLoad AttributeLoad NameLoad attr body Return SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If CompareIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad orelse If CompareIn NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str Call NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If UnaryOpNot AttributeLoad NameLoad attr body Return Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad Call NameLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str If BoolOpOr CompareIs AttributeLoad NameLoad attr NameLoad CompareIs SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Return TryExcept body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr TryExcept body Assign NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad name NameStore body Assign NameStore Dict Str Dict If BoolOpAnd CompareIn Str NameLoad CompareIs Call NameLoad SubscriptLoad NameLoad Index Str NameLoad body Assign SubscriptStore NameLoad Index Str AttributeLoad SubscriptLoad NameLoad Index Str attr Assign SubscriptStore NameLoad Index Str NameLoad orelse Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore NameLoad Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareNotIn Str NameLoad body Assign NameStore Str If CompareIn Str NameLoad body Assign NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad Assign NameStore Dict Str Str Str Str Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Dict NameLoad NameLoad Assign NameStore NameLoad For TupleStore NameStore NameStore Call AttributeLoad SubscriptLoad NameLoad Index Str attr body If BoolOpAnd CompareIn Str NameLoad SubscriptLoad NameLoad Index Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str NameLoad If CompareIs Call NameLoad SubscriptLoad NameLoad Index Str NameLoad body If CompareNotIn Str SubscriptLoad NameLoad Index Str body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Dict If CompareIn Str SubscriptLoad NameLoad Index Str body Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Delete SubscriptDel SubscriptLoad NameLoad Index Str Index Str If CompareIn Str SubscriptLoad NameLoad Index Str body Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Delete SubscriptDel SubscriptLoad NameLoad Index Str Index Str If CompareIn Str SubscriptLoad NameLoad Index Str body Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Delete SubscriptDel SubscriptLoad NameLoad Index Str Index Str If CompareIn Str SubscriptLoad NameLoad Index Str body Assign SubscriptStore SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Index Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Delete SubscriptDel SubscriptLoad NameLoad Index Str Index Str If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Delete SubscriptDel NameLoad Index Str If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Delete SubscriptDel NameLoad Index Str If CompareIn Str NameLoad body Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Delete SubscriptDel NameLoad Index Str If CompareNotIn Str NameLoad body Assign SubscriptStore NameLoad Index Str Num Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call NameLoad NameLoad Str Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr If Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad TryExcept body Assign NameStore Call NameLoad NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr Call NameLoad NameLoad Print NameLoad Raise Call NameLoad Call AttributeLoad Str attr NameLoad Call NameLoad NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad Raise Call NameLoad Call AttributeLoad Str attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str If BoolOpOr CompareIs AttributeLoad NameLoad attr NameLoad CompareNotIn Str AttributeLoad NameLoad attr body Return NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body If CompareIs SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Assign NameStore Str Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad Assign NameStore NameLoad If CompareIn NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index NameLoad orelse If CompareIn Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad Str attr NameLoad If NameLoad body If BoolOpAnd CompareIn Str NameLoad SubscriptLoad NameLoad Index Str body Assign SubscriptStore NameLoad Index Str NameLoad For TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr body If CompareIn NameLoad NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad SubscriptLoad NameLoad Index NameLoad Assign AttributeStore NameLoad attr NameLoad TryExcept body If BoolOpAnd SubscriptLoad AttributeLoad NameLoad attr Index Str CompareIs Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad CompareGt Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index Str Num body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call NameLoad keyword SubscriptLoad AttributeLoad NameLoad attr Index Str orelse If SubscriptLoad AttributeLoad NameLoad attr Index Str body Pass orelse Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad handlers ExceptHandler type NameLoad name NameStore body Raise Call NameLoad Call AttributeLoad Str attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults Str body Expr Str Assign NameStore NameLoad Print Call AttributeLoad Str attr NameLoad Print Str Print Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Str Print Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str Print Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Str If SubscriptLoad AttributeLoad NameLoad attr Index Str body Print Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Str If BoolOpAnd SubscriptLoad AttributeLoad NameLoad attr Index Str CompareIsNot Call NameLoad SubscriptLoad NameLoad Index Str NameLoad body Print Str Print Call AttributeLoad Str attr SubscriptLoad AttributeLoad NameLoad attr Index Str Assign NameStore NameLoad orelse If CompareIs Call NameLoad SubscriptLoad NameLoad Index Str NameLoad body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Print Call AttributeLoad Str attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr orelse If CompareIsNot SubscriptLoad NameLoad Index Str NameLoad body Print Str Assign NameStore SubscriptLoad NameLoad Index Str If SubscriptLoad NameLoad Index Str body Print Str If CompareGt SubscriptLoad NameLoad Index Str Num body Print Call AttributeLoad Str attr SubscriptLoad NameLoad Index Str Assign NameStore ListLoad If CompareIs SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad body Expr Call AttributeLoad NameLoad attr Str If CompareIs SubscriptLoad SubscriptLoad NameLoad Index Str Index Str NameLoad body Expr Call AttributeLoad NameLoad attr Str Print Call AttributeLoad Str attr Call AttributeLoad Str attr NameLoad If SubscriptLoad SubscriptLoad NameLoad Index Str Index Str body Print Str orelse Assign NameStore ListLoad For NameStore SubscriptLoad NameLoad Index Str body If BoolOpAnd CompareNotEq NameLoad Str CompareIs SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Print Call AttributeLoad Str attr Call AttributeLoad Str attr Call NameLoad NameLoad Print Call AttributeLoad Str attr Call AttributeLoad Str attr Call NameLoad NameLoad Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr If Call AttributeLoad NameLoad attr Str Str body Expr Call AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Print Str Print Str While NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareLt SubscriptLoad AttributeLoad NameLoad attr Index Str Num body Print Str orelse Break Print Str While NameLoad body Print Str Print Str Print Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str If BoolOpOr CompareIs SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad CompareLt SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign SubscriptStore AttributeLoad NameLoad attr Index Str BinOpAdd SubscriptLoad AttributeLoad NameLoad attr Index Str Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareLt SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Print Str orelse If CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Str SubscriptLoad AttributeLoad NameLoad attr Index Str body Print Str If UnaryOpNot Call AttributeLoad NameLoad attr Str body Break orelse Break Print Str While NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr Str SubscriptLoad AttributeLoad NameLoad attr Index Str If CompareLt SubscriptLoad AttributeLoad NameLoad attr Index Str Num body Print Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Num orelse Break Print Str Assign NameStore NameLoad If SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore Str If Call AttributeLoad NameLoad attr Str NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index Str Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Str orelse Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Print Str If Call AttributeLoad NameLoad attr Str CompareIsNot SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If BoolOpAnd CompareGt Call NameLoad NameLoad Num Call AttributeLoad NameLoad attr Str CompareIsNot SubscriptLoad AttributeLoad NameLoad attr Index Str NameLoad body Assign NameStore NameLoad If SubscriptLoad AttributeLoad NameLoad attr Index Str body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Print Str Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword Str keyword Str If CompareIs NameLoad NameLoad body Print Str orelse Print Call AttributeLoad Str attr NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index Str AttributeLoad NameLoad attr Return Assign NameStore Call NameLoad Print Str Assign SubscriptStore NameLoad Index Str Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Print Str Print Str Assign NameStore Call AttributeLoad NameLoad attr Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str Call NameLoad BinOpMult Call NameLoad BinOpDiv NameLoad Num Num Print Str Print Str While NameLoad body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str If BoolOpAnd UnaryOpNot SubscriptLoad SubscriptLoad NameLoad Index Str Index Str UnaryOpNot SubscriptLoad SubscriptLoad NameLoad Index Str Index Str body Print Str orelse Break Print Str Print Str While NameLoad body If Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str body Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad orelse Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str NameLoad Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign SubscriptStore SubscriptLoad NameLoad Index Str Index Str Call AttributeLoad NameLoad attr Str SubscriptLoad SubscriptLoad NameLoad Index Str Index Str Assign NameStore NameLoad For NameStore SubscriptLoad NameLoad Index Str body If CompareIs SubscriptLoad SubscriptLoad NameLoad Index Str Index NameLoad NameLoad body Assign NameStore NameLoad If UnaryOpNot NameLoad body Print Str orelse Break Assign SubscriptStore AttributeLoad NameLoad attr Index Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr keyword NameLoad Print Str Expr Call AttributeLoad NameLoad attr While NameLoad body If CompareEq Call NameLoad NameLoad Num body Assign NameStore Call AttributeLoad NameLoad attr Str orelse Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword NameLoad keyword NameLoad keyword Str If BoolOpAnd NameLoad CompareNotIn NameLoad NameLoad Call AttributeLoad NameLoad attr Str NameLoad body Print Call AttributeLoad Str attr NameLoad orelse Break Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad NameLoad Str body Expr Str Assert BoolOpOr CompareGt Call NameLoad NameLoad Num CompareIsNot NameLoad NameLoad Str TryExcept body Assign NameStore NameLoad If BoolOpOr BoolOpAnd CompareGt Call NameLoad NameLoad Num CompareIn Call NameLoad SubscriptLoad NameLoad Index Num ListLoad NameLoad NameLoad BoolOpAnd CompareEq Call NameLoad NameLoad Num CompareIs Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad If BoolOpAnd NameLoad CompareNotIn NameLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore NameLoad For NameStore NameLoad body Assign NameStore Str Assign NameStore NameLoad If NameLoad body Assign NameStore NameLoad orelse Assign NameStore Call NameLoad NameLoad If NameLoad body If BoolOpAnd CompareIs Call NameLoad NameLoad NameLoad CompareIn NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad orelse If Call NameLoad NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad NameLoad If CompareIsNot NameLoad NameLoad body If BoolOpAnd NameLoad CompareEq NameLoad NameLoad body Assign NameStore NameLoad orelse If CompareIsNot NameLoad NameLoad body If BoolOpAnd CompareIs Call NameLoad NameLoad NameLoad CompareIn NameLoad NameLoad CompareEq SubscriptLoad NameLoad Index NameLoad NameLoad body Assign NameStore NameLoad orelse If BoolOpAnd Call NameLoad NameLoad NameLoad CompareEq Call NameLoad NameLoad NameLoad NameLoad body Assign NameStore NameLoad If NameLoad body Assign NameStore Str Assign NameStore Call NameLoad NameLoad Print Call AttributeLoad Str attr NameLoad NameLoad NameLoad AugAssignAdd NameStore Num If NameLoad body Assign NameStore NameLoad Print Call AttributeLoad Str attr NameLoad AugAssignAdd NameStore Num Assign NameStore NameLoad Print Call AttributeLoad Str attr NameLoad While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Str NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr body If UnaryOpNot NameLoad body Continue orelse Return NameLoad Assign NameStore Call NameLoad NameLoad If BoolOpOr CompareEq NameLoad Num CompareGt NameLoad NameLoad body Continue If CompareLtE NameLoad Call NameLoad NameLoad body Return SubscriptLoad NameLoad Index BinOpSub NameLoad Num orelse If CompareEq NameLoad NameLoad body While NameLoad body Assign NameStore Call AttributeLoad NameLoad attr NameLoad If CompareEq Call AttributeLoad NameLoad attr Str body Break orelse Return NameLoad orelse Return NameLoad handlers ExceptHandler type NameLoad name NameStore body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list
N/A N/A 
The MIT License (MIT)

Copyright (c) 2013 Jeremy Gillick

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
 N/A re N/A os N/A shutil N/A yaml N/A json N/A copy lendingclub.filters Filter SavedFilter SavedFilterError lcinvestor util Settings N/A N/A N/A 
    Handles all the user and investment settings
     N/A logger None N/A investor None N/A settings_file_version 2 N/A settings_dir None N/A settings_file settings.yaml N/A investing_file investing.json N/A investing_json None N/A profile_loaded False N/A auth N/A email pass False None N/A default_investing N/A min_cash min_percent max_percent max_per_note portfolio filter_id 500 False False 25 None None N/A investing N/A N/A is_dirty False N/A user_settings N/A frequency 60 __init__ N/A N/A self investor investing_file settings_dir logger verbose N/A None None False False N/A N/A 
        file: A JSON file will the settings to use. Setting this parameter will prevent
              saving settings to the cache file.
        settings_dir: The directory that will be used to save the user and investment settings files
         N/A N/A self investing N/A N/A self get_default_investing_settings N/A N/A self is_dirty False N/A N/A self investor investor N/A N/A self settings_dir settings_dir N/A N/A logger N/A N/A N/A self logger N/A N/A util create_logger verbose N/A N/A N/A self logger logger N/A N/A N/A investing_file None N/A N/A self settings_dir None N/A N/A N/A N/A os path exists N/A self settings_dir N/A N/A N/A N/A os mkdir N/A self settings_dir N/A N/A N/A self get_user_settings N/A N/A N/A self load_investment_settings_file N/A N/A N/A last_profile N/A self investing_json N/A N/A N/A self investing_json N/A last_profile none N/A N/A N/A N/A self auth N/A email N/A N/A self investing_json N/A last_profile N/A __getitem__ N/A N/A self key N/A N/A N/A 
        Attempts to a value from one of the dictionaries
         N/A N/A key N/A self investing N/A N/A N/A N/A key filters N/A filter_id N/A self investing N/A N/A self investing N/A filter_id N/A N/A type N/A N/A self investing N/A filters SavedFilter N/A N/A N/A N/A N/A N/A self investing N/A filters N/A SavedFilter N/A N/A self investor lc N/A N/A self investing N/A filter_id N/A N/A N/A Exception N/A N/A N/A N/A self investing N/A filters None N/A N/A N/A self investing N/A key N/A N/A key N/A self user_settings N/A N/A N/A N/A self user_settings N/A key N/A N/A key N/A self auth N/A N/A N/A N/A self auth N/A key N/A None N/A __setitem__ N/A N/A self key value N/A N/A N/A 
        Add a setting
         N/A N/A key N/A self investing N/A N/A N/A N/A self investing N/A key value N/A N/A self is_dirty True N/A N/A N/A key N/A self user_settings N/A N/A N/A N/A self user_settings N/A key value N/A N/A N/A key N/A self auth N/A N/A N/A N/A self auth N/A key value N/A get_default_investing_settings N/A N/A self N/A N/A N/A 
        Return the default investing settings dict
         N/A investing N/A N/A copy deepcopy N/A self default_investing N/A N/A investing N/A filters N/A Filter N/A investing N/A get_user_settings N/A N/A self N/A N/A N/A 
        Load the settings.yaml file into memory.
        If this file doesn't exist, create in
         N/A N/A N/A self settings_dir N/A N/A N/A file_path N/A N/A N/A os path join N/A self settings_dir N/A self settings_file N/A N/A N/A N/A N/A os path exists file_path N/A N/A this_path N/A N/A N/A os path dirname N/A N/A N/A os path realpath __file__ N/A default_file N/A N/A N/A os path join this_path settings.yaml N/A N/A N/A shutil copy2 default_file file_path N/A N/A self user_settings N/A N/A yaml load N/A N/A N/A open file_path read N/A N/A self user_settings N/A process_json N/A N/A self jsonStr N/A N/A N/A 
        Preprocess a JSON string.
        Currently this simply removes all single line comments
         N/A jsonStr N/A N/A re sub \s*//.*?\n jsonStr N/A jsonStr N/A save N/A N/A self N/A N/A N/A 
        Save the investment settings dict to a file
         N/A N/A N/A N/A self settings_dir None N/A N/A N/A self auth N/A email None N/A N/A N/A N/A N/A N/A N/A N/A self logger debug Save investment settings to file N/A profile N/A N/A N/A self investing copy N/A N/A N/A to_save N/A N/A self read_investment_settings_file N/A N/A N/A Exception N/A e N/A N/A to_save N/A profiles N/A N/A N/A N/A filters profile N/A N/A type N/A profile N/A filters SavedFilter N/A N/A N/A profile N/A filter_id N/A N/A profile N/A filters id N/A N/A profile N/A filters None N/A N/A N/A profile N/A filter_id None N/A N/A N/A to_save N/A profiles N/A N/A N/A self auth N/A email profile N/A N/A to_save N/A last_profile N/A N/A self auth N/A email N/A N/A to_save N/A version N/A N/A util get_version N/A N/A to_save N/A format N/A self settings_file_version N/A json_out N/A N/A json dumps to_save N/A N/A N/A N/A self logger debug N/A N/A Saving investment settings file: {0} format json_out N/A investing_file N/A N/A N/A os path join N/A self settings_dir N/A self investing_file N/A f N/A open investing_file w N/A N/A N/A f write json_out N/A N/A N/A f close N/A N/A N/A N/A self logger debug Saved N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self logger warning N/A N/A Could not save the investment settings to file: {0} format N/A str e N/A migrate_settings N/A N/A self settings N/A N/A N/A 
        Migrate old settings to what they should be now
         N/A N/A profiles settings N/A N/A email none N/A N/A email settings N/A N/A email N/A N/A N/A settings N/A email lower N/A N/A N/A N/A self logger debug N/A N/A Creating profiles object with "{0}" format email N/A newSettings N/A version format last_profile profiles N/A N/A util get_version N/A self settings_file_version email N/A email settings N/A settings newSettings N/A N/A email profile N/A N/A N/A settings N/A profiles iteritems N/A N/A N/A N/A filters profile N/A profile N/A filters N/A N/A N/A N/A N/A self logger debug N/A N/A Normalize profile for "{0}" format email N/A N/A filter_id profile N/A N/A N/A profile N/A filter_id None N/A N/A N/A type N/A profile N/A filters dict N/A N/A N/A term N/A profile N/A filters N/A N/A N/A N/A profile N/A filters N/A term N/A N/A N/A 36month N/A profile N/A filters N/A N/A N/A N/A N/A profile N/A filters N/A term N/A Year3 N/A N/A profile N/A filters N/A 36month N/A N/A N/A profile N/A filters N/A 36month N/A N/A term36month N/A profile N/A filters N/A N/A N/A N/A N/A profile N/A filters N/A term N/A Year3 N/A N/A profile N/A filters N/A term36month N/A N/A N/A profile N/A filters N/A term36month N/A N/A 60month N/A profile N/A filters N/A N/A N/A N/A N/A profile N/A filters N/A term N/A Year5 N/A N/A profile N/A filters N/A 60month N/A N/A N/A profile N/A filters N/A 60month N/A N/A term60month N/A profile N/A filters N/A N/A N/A N/A N/A profile N/A filters N/A term N/A Year5 N/A N/A profile N/A filters N/A term60month N/A N/A N/A profile N/A filters N/A term60month N/A N/A minPercent profile N/A N/A N/A profile N/A min_percent N/A profile N/A minPercent N/A N/A profile N/A minPercent N/A N/A maxPercent profile N/A N/A N/A profile N/A max_percent N/A profile N/A maxPercent N/A N/A profile N/A maxPercent N/A N/A minCash profile N/A N/A N/A profile N/A min_cash N/A profile N/A minCash N/A N/A profile N/A minCash N/A N/A max_per_note profile N/A N/A N/A profile N/A max_per_note 25 N/A settings N/A read_investment_settings_file N/A N/A self file_path N/A None N/A N/A 
        Read a JSON file with investment settings and return the dictionary
         N/A N/A file_path None N/A N/A file_path N/A N/A N/A os path join N/A self settings_dir N/A self investing_file N/A N/A N/A N/A N/A os path exists file_path N/A N/A f N/A open file_path w N/A N/A N/A f write {"profiles": {}} N/A N/A N/A f close N/A N/A N/A N/A os path exists file_path N/A N/A N/A N/A N/A self logger debug N/A N/A Reading investment settings file: {0} format file_path N/A N/A N/A f N/A open file_path r N/A jsonStr N/A N/A f read N/A N/A N/A f close N/A N/A N/A N/A self logger debug N/A N/A Investment settings JSON: {0} format jsonStr N/A jsonStr N/A N/A self process_json jsonStr N/A saved_settings N/A N/A json loads jsonStr N/A saved_settings N/A N/A self migrate_settings saved_settings N/A N/A N/A N/A self logger debug N/A N/A Normalized settings JSON: {0} format saved_settings N/A saved_settings N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self logger debug N/A N/A Could not read investment settings file: {0} format N/A str e N/A jsonStr N/A N/A Exception N/A N/A Could not process file '{0}': {1} format file_path N/A str e N/A N/A N/A N/A N/A self logger debug N/A N/A The file '{0}' doesn't exist format file_path N/A N/A Exception N/A N/A The file '{0}' doesn't exist format file_path N/A False N/A load_investment_settings_file N/A N/A self file_path N/A None N/A N/A 
        Load the JSON settings file into investing_json dict
         N/A N/A self investing_json N/A N/A self read_investment_settings_file file_path N/A select_profile N/A N/A self profile_email N/A None N/A N/A 
        Load a profile from the investing JSON into the settings dictionary.
        If profile_email is None, we attempt to load the profile for auth['email']
         N/A N/A N/A N/A self investing_json None N/A profiles N/A self investing_json N/A N/A False N/A N/A self investing N/A N/A self get_default_investing_settings N/A N/A profile_email None N/A N/A N/A N/A N/A self auth N/A email None N/A N/A profile_email none N/A profile_email N/A N/A self auth N/A email N/A N/A N/A N/A self logger debug N/A N/A Select investing profile: {0} format profile_email N/A profile None N/A N/A profile_email N/A N/A self investing_json N/A profiles N/A N/A profile N/A N/A N/A self investing_json N/A profiles N/A profile_email N/A N/A N/A none N/A N/A self investing_json N/A profiles N/A N/A profile N/A N/A N/A self investing_json N/A profiles N/A none N/A N/A N/A N/A self logger debug N/A N/A Load profile: {0} format profile N/A profile N/A N/A N/A N/A filter_id profile N/A profile N/A filter_id N/A N/A N/A profile N/A filter False N/A N/A key value N/A N/A N/A self investing iteritems N/A N/A N/A key profile N/A N/A N/A N/A self investing N/A key N/A profile N/A key N/A N/A self is_dirty True N/A N/A N/A N/A N/A N/A self investing N/A filters N/A N/A type N/A N/A self investing N/A filters dict N/A N/A len N/A N/A self investing N/A filters 0 N/A N/A N/A N/A self investing N/A filters N/A Filter filters N/A N/A self investing N/A filters N/A N/A N/A N/A self investing N/A filter_id N/A N/A N/A N/A N/A N/A self investing N/A filters False N/A N/A N/A Exception N/A e N/A N/A N/A Exception N/A N/A Could load filter settings: {0} format N/A str e N/A N/A self profile_loaded True N/A True N/A False N/A get_auth_settings N/A N/A self N/A N/A N/A 
        Get the email and password from the user
         N/A N/A N/A self auth N/A email N/A N/A util prompt LendingClub email N/A N/A self auth N/A email N/A N/A N/A self auth N/A pass N/A N/A util get_password N/A N/A self auth N/A show_summary N/A N/A self title N/A Summary N/A N/A 
        Show a summary of the settings that will be used for auto investing
         N/A ret True N/A N/A N/A 
========= {0} ========= format title N/A Invest ALL available funds...
 N/A N/A N/A With at LEAST ${0} available to invest format N/A N/A self investing N/A min_cash N/A N/A N/A Select a portfolio with an average interest rate between {0}% - {1}% format N/A N/A self investing N/A min_percent N/A N/A self investing N/A max_percent N/A N/A N/A Invest as much as ${0} per loan note format N/A N/A self investing N/A max_per_note N/A N/A N/A self investing N/A portfolio N/A N/A N/A N/A Add investments to: "{0}" format N/A N/A self investing N/A portfolio N/A N/A N/A N/A self investing N/A filter_id N/A N/A type N/A self N/A filters SavedFilter N/A N/A 
!!! ERROR !!! N/A N/A N/A Saved filter '{0}' could not be loaded from LendingClub. Check the ID and try again.
 format N/A N/A self investing N/A filter_id N/A ret False N/A N/A N/A N/A type N/A self N/A filters SavedFilter N/A N/A filters N/A N/A self investing N/A filters N/A N/A N/A 
Using saved filter "{0}" (id:{1}) format N/A filters name N/A filters id N/A N/A N/A N/A self N/A filters False N/A N/A 
Advanced filters: N/A filters N/A self N/A filters N/A N/A filters N/A exclude_existing N/A N/A   + Exclude loans already invested in N/A N/A N/A filters N/A funding_progress 0 N/A N/A N/A N/A   + Only loans which are at least {0}% funded format N/A filters N/A funding_progress N/A terms N/A N/A N/A N/A N/A filters N/A term N/A Year3 True N/A N/A N/A N/A terms append 36 N/A N/A N/A N/A filters N/A term N/A Year5 True N/A N/A N/A N/A terms append 60 N/A N/A N/A   + Term: {0} months format N/A N/A  &  join terms N/A N/A N/A filters N/A grades N/A All N/A N/A   + All interest rate grades N/A N/A grades N/A N/A grade N/A filters N/A grades N/A N/A N/A N/A grade All N/A N/A N/A filters N/A grades N/A grade True N/A N/A N/A N/A grades append grade N/A N/A N/A   + Interest rates grades: {0} format N/A N/A ,  join N/A sorted grades N/A N/A N/A =========={0}==========
 format N/A N/A center N/A len title = N/A ret N/A confirm_settings N/A N/A self N/A N/A N/A N/A N/A self show_summary N/A N/A N/A util prompt_yn Would you like to continue with these settings? y N/A N/A N/A N/A self save N/A N/A N/A N/A self get_investment_settings N/A get_investment_settings N/A N/A self N/A N/A N/A 
        Display a series of prompts to get how the user wants to invest their available cash.
        This fills out the investing dictionary.
         N/A --------- N/A The auto investor will automatically try to invest ALL available cash into a diversified portfolio N/A True N/A N/A N/A N/A self investing N/A min_cash N/A N/A util prompt_int What's the MINIMUM amount of cash you want to invest each round? N/A N/A self investing N/A min_cash N/A N/A N/A N/A self investing N/A min_cash 25 N/A N/A 
You cannot invest less than $25. Please try again. N/A N/A N/A --------- N/A True N/A N/A When auto investing, the LendingClub API will search for diversified investment portfolios available at that moment. N/A To pick the appropriate one for you, it needs to know what the minimum and maximum AVERAGE interest rate value you will accept. N/A The investment option closest to the maximum value will be chosen and all your available cash will be invested in it.
 N/A N/A N/A self investing N/A min_percent N/A N/A util prompt_float What's MININUM average interest rate portfolio that you will accept? N/A N/A self investing N/A min_percent N/A N/A N/A N/A N/A self investing N/A max_percent False N/A N/A N/A self investing N/A max_percent N/A N/A self investing N/A min_percent N/A N/A N/A N/A self investing N/A max_percent N/A N/A N/A self investing N/A min_percent 1 N/A N/A N/A self investing N/A max_percent N/A N/A util prompt_float What's MAXIMUM average interest rate portfolio that you will accept? N/A N/A self investing N/A max_percent N/A N/A N/A N/A self investing N/A max_percent N/A N/A self investing N/A min_percent N/A N/A The maximum value must be larger than, or equal to, the minimum value. Please try again. N/A N/A N/A N/A N/A self investing N/A max_percent N/A N/A self investing N/A min_percent N/A N/A It's very uncommon to find an available portfolio that will match an exact percent. N/A N/A N/A N/A util prompt_yn Would you like to specify a broader range? N/A N/A N/A N/A N/A --------- N/A True N/A N/A N/A N/A self investing N/A max_per_note N/A N/A util prompt_int How much are you willing to invest per loan note (max per note)? N/A N/A self investing N/A max_per_note N/A N/A N/A N/A self investing N/A max_per_note 25 N/A N/A You have to invest AT LEAST $25 per note. N/A N/A N/A self investing N/A max_per_note 25 N/A N/A N/A --------- N/A folioOption False N/A N/A N/A self investing N/A portfolio N/A N/A folioOption y N/A N/A N/A util prompt_yn Do you want to put your new investments into a named portfolio? folioOption N/A N/A N/A N/A self investing N/A portfolio N/A N/A self portfolio_picker N/A N/A self investing N/A portfolio N/A N/A N/A N/A self investing N/A portfolio False N/A 
--------- N/A N/A N/A util prompt_yn Would you like to set advanced filter settings? N/A N/A N/A self investing N/A filters False N/A N/A N/A N/A self get_filter_settings N/A N/A N/A self confirm_settings N/A True N/A get_filter_settings N/A N/A self N/A N/A N/A 
        Setup the advanced portfolio filters (terms, grades, existing notes, etc.)
         N/A saved_filters N/A N/A N/A N/A self investor lc get_saved_filters N/A N/A N/A N/A len saved_filters 0 N/A N/A util prompt_yn Would you like to select one of your saved filters from LendingClub.com? N/A N/A N/A self investing N/A filter_id None N/A N/A selected None N/A N/A N/A self investing N/A filter_id N/A N/A selected N/A N/A self investing N/A filter_id N/A 
Select a saved filter from the list below: N/A saved N/A N/A self list_picker items saved_filters default selected label_key name id_key id N/A N/A saved False N/A N/A 
Define all your filters manually... N/A N/A N/A N/A Using {0} format saved N/A N/A N/A self investing N/A filters saved N/A N/A N/A self investing N/A filter_id N/A saved id N/A N/A filters N/A Filter N/A The following questions are from the filters section of the Invest page on LendingClub
 N/A N/A filters N/A exclude_existing N/A N/A util prompt_yn Exclude loans already invested in? N/A filters N/A exclude_existing N/A --------- N/A Funding progress N/A progress N/A N/A util prompt_float Only include loans which already have at least __% funding (0 - 100) N/A filters N/A funding_progress N/A N/A filters N/A funding_progress N/A int N/A N/A round N/A progress 10 10 N/A --------- N/A Choose term (36 - 60 month) N/A True N/A N/A N/A N/A filters N/A term N/A Year3 N/A N/A util prompt_yn Include 36 month term loans? N/A N/A filters N/A term N/A Year3 N/A N/A N/A filters N/A term N/A Year5 N/A N/A util prompt_yn Include 60 month term loans? N/A N/A filters N/A term N/A Year5 N/A N/A N/A N/A N/A filters N/A term N/A Year3 N/A N/A N/A filters N/A term N/A Year5 N/A N/A You have to AT LEAST choose one term length! N/A N/A N/A --------- N/A Choose interest rate grades (7.4% - 24.84%) N/A True N/A N/A N/A N/A util prompt_yn Include ALL interest rate grades N/A N/A filters N/A grades N/A All N/A N/A N/A N/A filters N/A grades N/A All True N/A N/A N/A N/A filters N/A grades N/A All False N/A N/A N/A filters N/A grades N/A A N/A N/A util prompt_yn A - ~7.41% N/A N/A filters N/A grades N/A A N/A N/A N/A filters N/A grades N/A B N/A N/A util prompt_yn B - ~12.12% N/A N/A filters N/A grades N/A B N/A N/A N/A filters N/A grades N/A C N/A N/A util prompt_yn C - ~15.80% N/A N/A filters N/A grades N/A C N/A N/A N/A filters N/A grades N/A D N/A N/A util prompt_yn D - ~18.76% N/A N/A filters N/A grades N/A D N/A N/A N/A filters N/A grades N/A E N/A N/A util prompt_yn E - ~21.49% N/A N/A filters N/A grades N/A E N/A N/A N/A filters N/A grades N/A F N/A N/A util prompt_yn F - ~23.49% N/A N/A filters N/A grades N/A F N/A N/A N/A filters N/A grades N/A G N/A N/A util prompt_yn G - ~24.84% N/A N/A filters N/A grades N/A G N/A gradeChosen False N/A grade N/A filters N/A grades N/A N/A N/A N/A N/A filters N/A grades N/A grade True N/A N/A gradeChosen True N/A N/A gradeChosen N/A N/A You have to AT LEAST choose one interest rate grade! N/A N/A N/A N/A N/A self investing N/A filters filters N/A portfolio_picker N/A N/A self default N/A None N/A N/A 
        Shows a list picker of porfolios

        Parameters:
            default -- The portfolio name to have selected by default
         N/A folios N/A N/A N/A N/A self investor lc get_portfolio_list names_only True N/A 
Portfolios... N/A N/A N/A folios sort N/A True N/A N/A N/A N/A len folios 0 N/A N/A picked N/A N/A util prompt Enter the name for your new portfolio N/A N/A picked N/A N/A self list_picker items folios default default allow_other True other_prompt Enter the name for your new portfolio N/A N/A picked N/A picked folios N/A N/A re search [^a-zA-Z0-9 ,_\-#\.] picked N/A N/A N/A N/A The portfolio name '{0}' is not valid! Only alphanumeric, spaces , _ - # and . are allowed. format picked N/A N/A N/A picked N/A list_picker N/A N/A self items default label_key id_key allow_other other_prompt N/A None None None None Enter a value N/A N/A 
        Shows a list of items the user can pick from.

        Parameters
            items -- The list of items to display. This is either a list of strings or
                objects. If objects, the label_key must be set
            default -- The item or ID that should be selected by default.
            label_key -- If items is a list of objects, this is the key or attribute of the object with the
                label to show for each item.
            id_key -- If items is a list of objects, this defined what the ID key/attribute is on each object.
            allow_other -- If an 'Other' option should be allowed. If selected the user will be able to type
                their own item, which will be returned.
            other_prompt -- The prompt to show when the user selects 'Other'

        Returns The item chosen from the list, a string if the user choose 'Other' or False if
        the user cancels the selection
         N/A N/A N/A N/A len items 0 N/A default False You cannot select from a list without any items N/A N/A N/A string_list False N/A N/A N/A N/A N/A len items 0 N/A N/A type N/A items N/A 0 N/A str unicode N/A N/A N/A len items 0 N/A N/A type default str N/A N/A string_list True N/A N/A default N/A default items string_list N/A N/A N/A N/A items append default N/A i 1 N/A other_index -1 N/A cancel_index 0 N/A default_index False N/A item items N/A N/A gutter N/A is_default False N/A string_list N/A N/A label item N/A N/A label N/A str item N/A label_key N/A N/A N/A N/A N/A type item dict N/A label_key item N/A N/A label N/A item N/A label_key N/A N/A N/A hasattr item label_key N/A N/A label N/A getattr item label_key N/A N/A default None N/A N/A N/A string_list N/A default item N/A N/A is_default True N/A N/A N/A id_key None N/A N/A N/A N/A N/A type item dict N/A id_key item N/A N/A item N/A id_key default N/A N/A is_default True N/A N/A N/A N/A hasattr item label_key N/A N/A getattr item id_key default N/A N/A is_default True N/A is_default N/A N/A gutter >  N/A default_index N/A str i N/A N/A N/A {0}{1}: {2} format gutter i label N/A i 1 N/A allow_other N/A N/A other_index i N/A N/A N/A   {0}: Other format other_index N/A i 1 N/A cancel_index i N/A N/A N/A   {0}: Cancel format cancel_index N/A True N/A N/A choice N/A N/A util prompt Choose one default_index N/A N/A N/A N/A choice isdigit N/A N/A N/A default_index N/A N/A N/A N/A default N/A choice N/A int choice N/A N/A N/A choice 0 N/A choice cancel_index N/A N/A N/A N/A choice N/A len items N/A N/A N/A items N/A N/A choice 1 N/A N/A N/A choice other_index N/A N/A True N/A N/A other N/A N/A util prompt other_prompt N/A N/A N/A N/A other strip N/A N/A N/A N/A other N/A N/A False N/A N/A N/A Exception N/A e N/A N/A N/A N/A N/A self logger error e N/A N/A