Skip to main content

tmux through python

Project description

tpy

Installation

pip install tpy

Usage

See tpy --help:

usage: tpy [--session SESSION] [--window WINDOW] [--reset-window]
           [--reset-pane] [--dir DIR] [--dry] [-h]
           {cmd,again} ...

Runs commands in tmux.

positional arguments:
  {cmd,again}

optional arguments:
  --session SESSION  Name of session to use
  --window WINDOW    Name of window to use
  --reset-window     Resets window before execution
  --reset-pane       Resets pane before execution
  --dir DIR          Changes into directory for execution
  --dry              Will send but not execute commands
  -h, --help         Usage info


usage: tpy cmd command

Runs arbitrary command.

positional arguments:
  command  Command to execute



usage: tpy again [-tu TIMES_UP]

Runs previous command again.

optional arguments:
  -tu TIMES_UP, --times-up TIMES_UP
                        Number of times to press cursor up

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tpy-0.2.2.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

tpy-0.2.2-py2.py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page