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] [--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
  --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.4.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

tpy-0.2.4-py2.py3-none-any.whl (4.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file tpy-0.2.4.tar.gz.

File metadata

  • Download URL: tpy-0.2.4.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for tpy-0.2.4.tar.gz
Algorithm Hash digest
SHA256 c4cba626d4f32cc0d2344e497d55fd23082d7d01a360a63cee6c5d1d5daadc6b
MD5 20e9d59918e923bb9a3a240920cd8fda
BLAKE2b-256 aeda2865706d72891cff0babe7801343d3862b14b4fd5d9cfa667db7edb7c0be

See more details on using hashes here.

File details

Details for the file tpy-0.2.4-py2.py3-none-any.whl.

File metadata

  • Download URL: tpy-0.2.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.4

File hashes

Hashes for tpy-0.2.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 85743e4776b34a790a1d7850bdec4b438a2f57667b40126518bb5c98a107aae5
MD5 16603f16e6cdb45885b708816c67707e
BLAKE2b-256 fdf553cf31bb7cf9b9d640623da7fbdd86d3931d5b01b25983647464b637283e

See more details on using hashes here.

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