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
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.2.2.tar.gz
(4.7 kB
view details)
Built Distribution
File details
Details for the file tpy-0.2.2.tar.gz
.
File metadata
- Download URL: tpy-0.2.2.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1814e4757fd637f909bba89283e25dd90eccba076526d18bc54652237cee3bbd |
|
MD5 | 8ee023a6b84e4efd26f2bf159f452e1d |
|
BLAKE2b-256 | f10d7d4b24c4ce1585707ea923ec310ee4b0f83420bfe09822b12c61a2f0f9e1 |
File details
Details for the file tpy-0.2.2-py2.py3-none-any.whl
.
File metadata
- Download URL: tpy-0.2.2-py2.py3-none-any.whl
- Upload date:
- Size: 5.0 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 | a2eef5799e8c516368b912d31af154a5355adc663888e5cc336c37d0c6c7584e |
|
MD5 | 90bc323c2dad60ff8a10ff8f22c95e72 |
|
BLAKE2b-256 | b12ce58c8a917a84aa3e5eada0a48d21a777b62de0442907b9a5842641a5dc4d |