Metadata-Version: 2.1
Name: tpy
Version: 0.1.3
Summary: tmux through python
Home-page: https://github.com/jan-matthis/tpy
Author: Jan-Matthis Lueckmann
Author-email: mail@jan-matthis.de
License: MIT
Description: 
        # tpy
        
        ## Installation
        
        ```bash
        pip install tpy
        ```
        
        
        ## Usage
        
        ```
        usage: tpy [-h] [-s SESSION] [-w WINDOW] [-r] {cmd,cmd_prev,pytest,python} ...
        
        Runs command in tmux
        
        positional arguments:
          {cmd,cmd_prev,pytest,python}
        
        optional arguments:
          -h, --help            Usage info
          -s SESSION, --session SESSION
                                Session to use
          -w WINDOW, --window WINDOW
                                Window to use
          -r, --reset           Resets window before execution, killing running
                                processes
        
        
        usage: tpy cmd command
        
        Runs arbitrary command
        
        positional arguments:
          command  Command to execute
        
        
        
        usage: tpy cmd_prev [-t TIMES_UP]
        
        Runs previous command
        
        optional arguments:
          -t TIMES_UP, --times_up TIMES_UP
                                Number of times to press cursor up
        
        
        
        usage: tpy pytest [--executable EXECUTABLE] [-k KEYWORD] [-m MARK] [--pdb]
                          [--ipdb] [-mf MAXFAIL]
                          file_or_dir
        
        Runs pytest on file or directory
        
        positional arguments:
          file_or_dir
        
        optional arguments:
          --executable EXECUTABLE
                                pytest executable
          -k KEYWORD, --keyword KEYWORD
                                Only run tests matching given substring expression
          -m MARK, --mark MARK  Only run tests matching mark expression
          --pdb                 Enables pdb
          --ipdb                Enables ipdb
          -mf MAXFAIL, --maxfail MAXFAIL
                                Maximum failures
        
        
        
        usage: tpy python [--executable EXECUTABLE] [--pdb] [--ipdb] [-i] file
        
        Executes file with python
        
        positional arguments:
          file
        
        optional arguments:
          --executable EXECUTABLE
                                Python executable
          --pdb                 Enables pdb
          --ipdb                Enables ipdb
          -i, --interactive     Enables interactive mode
        ```
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: PyPy
Requires-Python: >=2.7.0
Description-Content-Type: text/markdown
