tmux through python
Project description
tpy
Installation
pip install tpy
Usage
See tpy --help
:
usage: tpy [--socket-name SOCKET_NAME] [--socket-path SOCKET_PATH]
[--session-name SESSION_NAME] [--window-name WINDOW_NAME]
[--hotkey HOTKEY] [--reset-window] [--reset-pane] [--dry] [--debug]
[-h]
{cmd,again} ...
Runs commands in tmux.
positional arguments:
{cmd,again}
optional arguments:
--socket-name SOCKET_NAME
Socket name
--socket-path SOCKET_PATH
Socket path
--session-name SESSION_NAME
Session name
--window-name WINDOW_NAME
Window name
--hotkey HOTKEY Register and wait for hotkey. Requires `sudo`
invocation.
--reset-window Resets window before execution
--reset-pane Resets pane before execution
--dry Will send but not execute commands
--debug Debugging info
-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
Release history Release notifications | RSS feed
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.3.0.tar.gz
(4.9 kB
view details)
Built Distribution
File details
Details for the file tpy-0.3.0.tar.gz
.
File metadata
- Download URL: tpy-0.3.0.tar.gz
- Upload date:
- Size: 4.9 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | acacc9e4d40e1d35ab76e0bb8e5cf52215cbdc234dd183aeaa42a04790fd17af |
|
MD5 | 5cf9ef36ee9678234d318c70673a2e23 |
|
BLAKE2b-256 | f4a186b4d5b05935846827a9f2d151d148c48a52319d6c009d7f834b59da7732 |
File details
Details for the file tpy-0.3.0-py2.py3-none-any.whl
.
File metadata
- Download URL: tpy-0.3.0-py2.py3-none-any.whl
- Upload date:
- Size: 5.1 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f169fd64fbc8c11bb21a21f011ef9b9b494fc7525d6207e0e42ca41f5b8526c |
|
MD5 | 6601272ef535e8d724a1fb8044160a09 |
|
BLAKE2b-256 | b993f2d138cf32b612aac7f120889200106ac1e601a0112a82b06817a196b8df |