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.3.tar.gz (4.7 kB view details)

Uploaded Source

Built Distribution

tpy-0.2.3-py2.py3-none-any.whl (4.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: tpy-0.2.3.tar.gz
  • Upload date:
  • Size: 4.7 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.3.tar.gz
Algorithm Hash digest
SHA256 7b7b810379e23c18469869ec93fef14974b6034558e7eb1e1498dbf071cb100e
MD5 b85279d2765f1e71574c27b3198f7f08
BLAKE2b-256 75e568d501df341b5ec3d188f2656a9e2b60dce638331b7b0ce94ff469a1fa70

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tpy-0.2.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 4.9 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.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6ba412650b604bef2b5b3553a97d2c1d3040e64b12f8903f7caf821b3cb348e1
MD5 e6716697c9c0ca6f4624c23a16934ddc
BLAKE2b-256 4e6231fe106879e47f057f645e64d1c7b20d341ac8cdc5d8ec167068ba13ef75

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