Module ImportFrom alias ImportFrom alias Import alias Import alias Import alias Import alias Import alias Import alias ImportFrom alias ClassDef bases body Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Num Assign NameStore Dict NameLoad NameLoad NameLoad NameLoad Str Str Str Str Assign NameStore Dict NameLoad NameLoad NameLoad NameLoad Str Str Str Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults NameLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Assign AttributeStore NameLoad attr IfExp CompareIsNot NameLoad NameLoad Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr orelse Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareIs NameLoad NameLoad body Assign NameStore Str Return BinOpMod Str TupleLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body If CompareIsNot NameLoad NameLoad body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr Str handlers ExceptHandler type NameLoad body Assign NameStore NameLoad orelse Assign NameStore 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 NameParam defaults body For NameStore AttributeLoad NameLoad attr body If CompareEq AttributeLoad NameLoad attr NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return BoolOpAnd CompareEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr BoolOpOr CompareIs AttributeLoad NameLoad attr NameLoad CompareLtE AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr BoolOpOr CompareIs AttributeLoad NameLoad attr NameLoad CompareGtE AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body If CompareNotIn AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Return Str Return SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad If BoolOpOr UnaryOpNot NameLoad CompareNotEq Call NameLoad Call AttributeLoad NameLoad attr Num body Return NameLoad Return Call NameLoad ListComp IfExp NameLoad Call NameLoad NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr decorator_list NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Str If CompareNotEq Call NameLoad NameLoad Num body Return NameLoad If CompareIsNot SubscriptLoad NameLoad Index Num NameLoad body Return BinOpMod Str NameLoad orelse Return Call NameLoad SubscriptLoad NameLoad Index Num decorator_list NameLoad decorator_list AttributeLoad NameLoad attr ClassDef bases body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases body Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body If CompareIsNot AttributeLoad NameLoad attr NameLoad body Return AttributeLoad NameLoad attr TryExcept body If UnaryOpNot AttributeLoad Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr attr body Return ListLoad handlers ExceptHandler type NameLoad body Return ListLoad With Call NameLoad AttributeLoad NameLoad attr Str NameStore body TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Raise Call NameLoad If CompareLt AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Raise Call NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call NameLoad NameLoad With Call NameLoad AttributeLoad NameLoad attr Str NameStore body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListLoad For NameStore NameLoad body Assign NameStore NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BoolOpOr CompareGt Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr attr NameLoad Num CompareEq Call NameLoad AttributeLoad NameLoad attr NameLoad If UnaryOpNot NameLoad body Break Assign NameStore BoolOpAnd NameLoad BoolOpOr CompareIs NameLoad NameLoad CompareEq AttributeLoad NameLoad attr NameLoad If NameLoad body If BoolOpOr UnaryOpNot NameLoad Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index AttributeLoad NameLoad attr attr NameLoad For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad body If BoolOpOr CompareIs NameLoad NameLoad CompareEq AttributeLoad NameLoad attr NameLoad body Return NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num AttributeLoad NameLoad attr If UnaryOpNot NameLoad body Return TupleLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr SubscriptLoad AttributeLoad NameLoad attr Index Num If UnaryOpNot NameLoad body Return TupleLoad NameLoad NameLoad Return TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases body Assign NameStore Num FunctionDef arguments args NameParam NameParam defaults NameLoad body If UnaryOpNot NameLoad body Assign NameStore ListLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Return Dict Str Str AttributeLoad NameLoad attr ListComp Call AttributeLoad NameLoad attr NameLoad comprehension NameStore AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore ListLoad Str Str body If CompareIsNot SubscriptLoad NameLoad Index NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Assign SubscriptStore NameLoad Index Str ListComp AttributeLoad NameLoad attr comprehension NameStore SubscriptLoad NameLoad Index Str Return NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam NameParam defaults body Assign NameStore Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore ListLoad For NameStore NameLoad body Assign SubscriptStore NameLoad Index Str ListComp Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str comprehension NameStore SubscriptLoad NameLoad Index Str For NameStore ListLoad Str Str body If CompareIsNot SubscriptLoad NameLoad Index NameLoad NameLoad body Assign SubscriptStore NameLoad Index NameLoad Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr SubscriptLoad NameLoad Index NameLoad Str attr Assign NameStore Call NameLoad SubscriptLoad NameLoad Index Str SubscriptLoad NameLoad Index Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call NameLoad NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults vararg kwarg body Assign AttributeStore NameLoad attr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr AttributeLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A __future__ unicode_literals collections defaultdict N/A copy N/A datetime N/A json N/A os N/A re N/A six exceptions TaxiException Project N/A N/A N/A STATUS_NOT_STARTED 0 N/A STATUS_ACTIVE 1 N/A STATUS_FINISHED 2 N/A STATUS_CANCELLED 3 N/A STATUSES N/A STATUS_NOT_STARTED STATUS_ACTIVE STATUS_FINISHED STATUS_CANCELLED Not started Active Finished Cancelled N/A SHORT_STATUSES N/A STATUS_NOT_STARTED STATUS_ACTIVE STATUS_FINISHED STATUS_CANCELLED N A F C N/A STR_TUPLE_REGEXP ^(\d{1,4})(?:/(\d{1,4}))?$ __init__ N/A N/A self id name status description budget N/A None None None N/A N/A N/A self id N/A int id N/A N/A self name name N/A N/A self activities N/A N/A N/A self status N/A N/A status None N/A int status None N/A N/A self description description N/A N/A self budget budget N/A N/A self aliases N/A N/A N/A self start_date None N/A N/A self end_date None N/A N/A self backend None N/A __str__ N/A N/A self N/A N/A N/A N/A N/A self status N/A self STATUSES N/A N/A status N/A N/A self STATUSES N/A N/A self status N/A N/A status Unknown N/A start_date N/A N/A self get_formatted_date N/A self start_date N/A N/A start_date None N/A N/A start_date Unknown N/A end_date N/A N/A self get_formatted_date N/A self end_date N/A N/A end_date None N/A N/A end_date Unknown N/A N/A Id: %s
Name: %s
Status: %s
Start date: %s
End date: %s
Budget: %s
Description: %s N/A N/A self id N/A self name status start_date end_date N/A self budget N/A self description N/A get_formatted_date N/A N/A self date N/A N/A N/A N/A date None N/A N/A N/A N/A formatted_date N/A N/A date strftime %d.%m.%Y N/A N/A N/A ValueError N/A N/A formatted_date None N/A N/A formatted_date None N/A formatted_date N/A add_activity N/A N/A self activity N/A N/A N/A N/A N/A N/A self activities append activity N/A get_activity N/A N/A self id N/A N/A N/A activity N/A self activities N/A N/A N/A N/A activity id id N/A N/A activity N/A None N/A is_active N/A N/A self N/A N/A N/A N/A N/A N/A self status N/A self STATUS_ACTIVE N/A N/A N/A self start_date None N/A N/A self start_date N/A N/A N/A datetime date today N/A N/A N/A self end_date None N/A N/A self end_date N/A N/A N/A datetime date today N/A get_short_status N/A N/A self N/A N/A N/A N/A N/A self status N/A self SHORT_STATUSES N/A N/A ? N/A N/A N/A self SHORT_STATUSES N/A N/A self status N/A str_to_tuple N/A N/A cls string N/A N/A N/A 
        Converts a string in the format xxx/yyy to a (project, activity)
        tuple

         N/A matches N/A N/A re match N/A cls STR_TUPLE_REGEXP string N/A N/A N/A matches N/A N/A len N/A N/A matches groups 2 N/A N/A None N/A N/A tuple N/A N/A item N/A int item None N/A item N/A N/A matches groups N/A classmethod tuple_to_str N/A N/A cls t N/A N/A N/A 
        Converts a (project, activity) tuple to a string in the format
        xxx/yyy

         N/A N/A N/A len t 2 N/A N/A None N/A N/A N/A t N/A 1 None N/A N/A N/A %s/%s t N/A N/A N/A unicode N/A t N/A 0 N/A classmethod N/A N/A six python_2_unicode_compatible Activity N/A N/A __init__ N/A N/A self id name price N/A N/A N/A N/A self id N/A int id N/A N/A self name name N/A N/A self price price N/A N/A ProjectsDb N/A N/A N/A PROJECTS_FILE projects.json __init__ N/A N/A self path N/A N/A N/A N/A self path path N/A N/A self projects_database_file N/A N/A N/A os path join N/A self path N/A self PROJECTS_FILE N/A N/A self _projects_by_id_cache None N/A N/A self _projects_cache None N/A get_projects N/A N/A self N/A N/A N/A N/A N/A self _projects_cache None N/A N/A N/A self _projects_cache N/A N/A N/A N/A N/A N/A N/A os stat N/A self projects_database_file st_size N/A N/A N/A N/A N/A N/A OSError N/A N/A N/A N/A N/A open N/A self projects_database_file r projects_db N/A N/A N/A N/A lpdb N/A N/A json load projects_db cls LocalProjectsDbDecoder N/A N/A N/A N/A UnicodeDecodeError ValueError N/A N/A N/A OutdatedProjectsDbException N/A N/A N/A lpdb VERSION N/A LocalProjectsDb VERSION N/A N/A N/A OutdatedProjectsDbException N/A N/A self _projects_cache N/A lpdb projects N/A N/A lpdb projects N/A update N/A N/A self projects N/A N/A N/A lpdb N/A LocalProjectsDb projects N/A N/A open N/A self projects_database_file w output N/A N/A N/A N/A json dump N/A N/A lpdb get_dump_object output N/A N/A self _projects_cache None N/A N/A self _projects_by_id_cache None N/A search N/A N/A self search active_only backend N/A False None N/A N/A projects N/A N/A self get_projects N/A found_list N/A N/A project projects N/A N/A found True N/A s search N/A N/A s N/A N/A s lower N/A found N/A N/A N/A N/A N/A N/A N/A project name lower find s -1 N/A N/A str N/A project id s N/A N/A found N/A N/A N/A found N/A found N/A N/A backend None N/A N/A project backend backend N/A found N/A N/A N/A N/A active_only N/A N/A project is_active N/A N/A N/A N/A found_list append project N/A found_list N/A get N/A N/A self id backend N/A None N/A N/A N/A N/A self _projects_by_id_cache None N/A N/A projects N/A N/A self get_projects N/A N/A self _projects_by_id_cache N/A defaultdict list N/A project projects N/A N/A N/A N/A N/A N/A self _projects_by_id_cache N/A N/A project id append project N/A project N/A N/A N/A self _projects_by_id_cache get id N/A N/A N/A N/A N/A backend None N/A N/A project backend backend N/A N/A project N/A None N/A mapping_to_project N/A N/A self mapping N/A N/A N/A project N/A N/A self get N/A N/A mapping mapping N/A 0 N/A mapping backend N/A N/A project N/A N/A N/A None None N/A activity N/A N/A project get_activity N/A N/A mapping mapping N/A 1 N/A N/A activity N/A N/A N/A project None N/A N/A project activity N/A N/A LocalProjectsDb N/A N/A N/A VERSION 2 __init__ N/A N/A self projects N/A None N/A N/A N/A projects N/A N/A projects N/A N/A N/A self projects projects N/A get_dump_object N/A N/A self N/A N/A N/A N/A VERSION projects N/A self VERSION N/A N/A N/A self dump_project project N/A project N/A self projects N/A dump_project N/A N/A self project N/A N/A N/A project_dict N/A N/A copy copy N/A project __dict__ N/A date_type N/A start_date end_date N/A N/A N/A N/A project_dict N/A date_type None N/A N/A N/A project_dict N/A date_type N/A N/A N/A project_dict N/A date_type isoformat N/A N/A project_dict N/A activities N/A N/A activity __dict__ N/A activity N/A project_dict N/A activities N/A project_dict N/A N/A LocalProjectsDbDecoder N/A N/A json JSONDecoder N/A decode N/A N/A self s N/A N/A N/A s N/A N/A N/A super LocalProjectsDbDecoder self decode s N/A projects N/A s N/A projects N/A projects_copy N/A N/A project projects N/A N/A N/A project N/A activities N/A N/A Activity N/A activity N/A id N/A activity N/A name N/A activity N/A price N/A activity N/A project N/A activities N/A date_type N/A start_date end_date N/A N/A N/A N/A project N/A date_type None N/A N/A N/A project N/A date_type N/A N/A N/A N/A N/A datetime datetime strptime N/A project N/A date_type %Y-%m-%d date N/A p_copy N/A Project N/A project N/A id N/A project N/A name N/A N/A N/A N/A p_copy __dict__ update project N/A N/A N/A projects_copy append p_copy N/A lpdb N/A LocalProjectsDb projects_copy N/A N/A lpdb VERSION N/A s N/A VERSION N/A lpdb N/A N/A OutdatedProjectsDbException N/A TaxiException N/A __init__ N/A N/A self N/A args kwargs N/A N/A N/A self message Your projects db is outdated, please run `taxi update` to update it N/A N/A N/A N/A super OutdatedProjectsDbException self __init__ N/A self message args kwargs N/A N/A