Module Import alias Import alias Import alias ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore Call NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam defaults Str body Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Assign NameStore Call NameLoad Assign NameStore Dict Assign NameStore Str Assign NameStore Str Assign NameStore ListLoad Assign NameStore Dict Assign NameStore ListLoad FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr BoolOpOr Call AttributeLoad AttributeLoad NameLoad attr attr Str Call AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str If NameLoad body If BoolOpAnd AttributeLoad NameLoad attr UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr ListLoad Call AttributeLoad Str attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If AttributeLoad NameLoad attr body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr body Raise Call NameLoad Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str ListLoad body If Call NameLoad NameLoad NameLoad body Assign NameStore NameLoad orelse Assign NameStore Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore BoolOpOr SubscriptLoad NameLoad Index NameLoad Dict If Call NameLoad NameLoad NameLoad body Assign NameStore ListLoad NameLoad Assign NameStore Dict orelse Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Assign NameStore Call AttributeLoad NameLoad attr Str ListLoad Assign NameStore IfExp Call NameLoad NameLoad NameLoad ListLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BoolOpOr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr BoolOpOr NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If NameLoad body Raise Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad For NameStore NameLoad body Assign NameStore SubscriptLoad NameLoad Index Str Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad If NameLoad body Raise Call NameLoad Str NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Expr Call AttributeLoad NameLoad attr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareGt Call NameLoad AttributeLoad NameLoad attr Num body Assign TupleStore NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad orelse Assign TupleStore AttributeStore NameLoad attr NameStore NameStore Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr NameLoad If UnaryOpNot AttributeLoad NameLoad attr body Print Str Expr Call AttributeLoad NameLoad attr Num Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Assign SubscriptStore NameLoad Index Str ListLoad For NameStore NameLoad body If CompareGt Call NameLoad SubscriptLoad NameLoad Index Str Num body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad SubscriptLoad NameLoad Index Str Expr Call AttributeLoad SubscriptLoad NameLoad Index Str attr NameLoad Assign NameStore IfExp Call NameLoad NameLoad NameLoad Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr ListLoad NameLoad Assign NameStore BinOpAdd BinOpAdd AttributeLoad NameLoad attr NameLoad NameLoad For NameStore NameLoad body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad SubscriptLoad NameLoad Index Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore SubscriptLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad Index Num Assign NameStore ListLoad Assign NameStore ListLoad For NameStore NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call AttributeLoad NameLoad attr Str Str NameLoad Assign NameStore Call AttributeLoad Str attr SubscriptLoad Call AttributeLoad NameLoad attr Str Slice Num If CompareEq SubscriptLoad Call AttributeLoad NameLoad attr Str Index Num NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad orelse Expr Call AttributeLoad NameLoad attr Dict Str Str NameLoad NameLoad orelse Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad Str attr Call AttributeLoad Str attr NameLoad Return Dict Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad decorator_list NameLoad decorator_list
N/A N/A re N/A sys N/A os logger Logger tmux Tmux git Git N/A log N/A Logger WorkspaceException N/A Exception N/A __init__ N/A N/A self message errors N/A N/A N/A N/A N/A N/A super WorkspaceException self __init__ message N/A N/A self errors errors N/A N/A self message message N/A N/A Workspace N/A object N/A N/A _tmux N/A Tmux N/A _config N/A N/A _name N/A _root N/A _venv N/A N/A _session N/A N/A _windows N/A __init__ N/A N/A self config N/A None N/A N/A 
        :param tmux: Tmux class instance
         N/A N/A N/A self set_config config N/A set_config N/A N/A self config N/A N/A N/A N/A self _config config N/A N/A self _name N/A N/A N/A self _config get name N/A N/A self _root N/A N/A N/A N/A self _config get dir N/A N/A os getcwd N/A N/A self _root N/A N/A N/A os path expanduser N/A self _root N/A venv N/A N/A N/A self _config get venv N/A venv N/A N/A N/A N/A self _root N/A N/A N/A N/A os path isabs venv N/A N/A venv N/A N/A N/A os path join N/A self _root venv N/A N/A self _venv N/A N/A N/A  source "{}" format N/A N/A N/A os path join venv bin/activate N/A start N/A N/A self N/A N/A N/A 
        Create Tmux windows from `windows` configuration in YML

        :return Collection of window information
         N/A N/A self _root N/A N/A N/A N/A N/A N/A os path isdir N/A self _root N/A N/A N/A WorkspaceException Directory does not exist N/A self _root N/A N/A N/A os chdir N/A self _root N/A window N/A N/A N/A self _config get windows N/A N/A N/A N/A isinstance window str N/A N/A name window N/A N/A name N/A next N/A iter N/A N/A window keys N/A window N/A N/A window N/A name N/A N/A N/A isinstance window str N/A N/A panes N/A window N/A window N/A N/A N/A panes N/A N/A window get panes N/A N/A post_cmds N/A N/A window get post_cmd N/A N/A post_cmds N/A N/A isinstance post_cmds str N/A post_cmds post_cmds N/A N/A N/A N/A self _windows append N/A N/A self create_window name panes post_cmds N/A N/A window get layout N/A N/A N/A self attach N/A N/A self _windows N/A stop N/A N/A self name N/A None N/A N/A 
        Kill a workspace session

        :param name: Session name
         N/A N/A N/A N/A self _tmux kill_session N/A name N/A self _name N/A attach N/A N/A self name N/A None N/A N/A 
        Attach to a workspace session

        :param name: Session name
         N/A N/A N/A N/A self _tmux attach N/A name N/A self _name N/A ls N/A N/A self N/A N/A N/A 
        List windows and panes for a session
         N/A N/A windows errors N/A N/A N/A self _tmux get_windows N/A self _name N/A errors N/A N/A N/A WorkspaceException Unable to list windows errors N/A N/A N/A log echo  [blue]::[reset] Windows: N/A N/A N/A log echo N/A repr windows N/A window windows N/A N/A win_id N/A window N/A window_id N/A N/A panes errors N/A N/A N/A self _tmux get_panes N/A self _name win_id N/A errors N/A N/A N/A WorkspaceException Unable to list panes errors N/A N/A N/A log echo N/A N/A  [blue]::[reset] Window "{}" panes: format win_id N/A N/A N/A log echo N/A repr panes N/A create_window N/A N/A self name panes post_cmds layout N/A None N/A N/A 
        Create Tmux window and panes from configuration

        :param name:
        :param panes:
        :param post_cmds:
        :param layout:
        :return
         N/A N/A N/A len N/A self _windows 0 N/A N/A N/A window pane N/A N/A N/A self _tmux new_window N/A self _name name N/A N/A N/A N/A self _session window pane N/A N/A N/A self _tmux new_session N/A self _name name N/A N/A N/A self _session N/A N/A Error creating session buddy. N/A N/A N/A sys exit 1 N/A session_name N/A N/A self _session N/A name N/A N/A window N/A panes N/A N/A pane_schema panes N/A N/A N/A N/A len N/A window N/A panes 0 N/A N/A pane N/A N/A N/A self _tmux new_pane session_name name N/A pane N/A index N/A N/A N/A N/A window N/A panes append pane N/A cmds N/A N/A isinstance pane_schema dict N/A next N/A iter N/A N/A pane_schema values N/A pane_schema N/A cmds N/A N/A N/A self _venv cmds post_cmds N/A cmd cmds N/A N/A N/A N/A N/A self _tmux send_keys session_name name N/A pane N/A index cmd N/A N/A N/A N/A self _tmux set_layout session_name name layout N/A window N/A initialize N/A N/A root_dir N/A N/A N/A 
        Initialize a new workspace .mx.yml file
         N/A dirs N/A N/A next N/A N/A os walk root_dir N/A 1 N/A repos N/A N/A skipped N/A N/A directory dirs N/A N/A N/A N/A os chdir N/A N/A N/A os path join root_dir directory N/A N/A N/A Git is_git_repo N/A N/A N/A N/A log echo N/A N/A  [blue]::[reset] Found directory `[white]{}[reset]` format directory N/A url N/A N/A Git get_remote_url N/A name N/A N/A url replace : / N/A name N/A N/A re sub .git$ name N/A name N/A N/A / join N/A N/A N/A name split / N/A -2 N/A N/A N/A N/A N/A name split / N/A 1 directory N/A N/A N/A N/A repos append name N/A N/A N/A N/A repos append N/A dir name directory name N/A N/A N/A N/A skipped append directory N/A N/A N/A log echo N/A N/A  [blue]::[yellow] Skipped[reset] non-git repositories: {} format N/A N/A ,  join skipped N/A N/A name dir repos N/A N/A N/A os path basename root_dir root_dir repos N/A staticmethod N/A