tmux through python
Project description
tpy
Installation
pip install tpy
Usage
usage: tpy [-h] [-s SESSION] [-w WINDOW] {cmd,cmd_prev,pytest,python} ...
Runs command in tmux
positional arguments:
{cmd,cmd_prev,pytest,python}
optional arguments:
-h, --help Usage info
-s SESSION, --session SESSION
tmux session to use
-w WINDOW, --window WINDOW
tmux window to use
usage: tpy cmd command
Runs arbitrary command
positional arguments:
command Command to execute
usage: tpy cmd_prev [-t TIMES_UP] [-r]
Runs previous command
optional arguments:
-t TIMES_UP, --times_up TIMES_UP
Number of times to press cursor up
-r, --reset Resets window before execution, kills running programs
usage: tpy pytest [--executable EXECUTABLE] [-k KEYWORD] [-m MARK] [--pdb]
[--ipdb] [-mf MAXFAIL]
file_or_dir
Runs pytest on file or directory
positional arguments:
file_or_dir
optional arguments:
--executable EXECUTABLE
pytest executable
-k KEYWORD, --keyword KEYWORD
Only run tests matching given substring expression
-m MARK, --mark MARK Only run tests matching mark expression
--pdb Enables pdb
--ipdb Enables ipdb
-mf MAXFAIL, --maxfail MAXFAIL
Maximum failures
usage: tpy python [--executable EXECUTABLE] [--pdb] [--ipdb] [-i] file
Executes file with python
positional arguments:
file
optional arguments:
--executable EXECUTABLE
Python executable
--pdb Enables pdb
--ipdb Enables ipdb
-i, --interactive Enables interactive mode
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.1.1.tar.gz
(5.1 kB
view details)
Built Distribution
File details
Details for the file tpy-0.1.1.tar.gz
.
File metadata
- Download URL: tpy-0.1.1.tar.gz
- Upload date:
- Size: 5.1 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 | 2de8af23291532cacd1034586f1aea0cf707af099a9456669af1bcb09cca37bb |
|
MD5 | 5b10236a812314f071b031ad8a3d14f4 |
|
BLAKE2b-256 | 1ff7a7164e575550f88fb726bde65ec03d6ce6621d6211f59b424a7144e93341 |
File details
Details for the file tpy-0.1.1-py2.py3-none-any.whl
.
File metadata
- Download URL: tpy-0.1.1-py2.py3-none-any.whl
- Upload date:
- Size: 5.3 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 | c45ddcd8ebeb887c47f0b59eeb655ac78a3f0f51a3cda6083a5c190bd0f70c21 |
|
MD5 | b6d31b1e8645490df51bf7c77f27d45f |
|
BLAKE2b-256 | 26d488ced18108de0537c7c8cde4b4686ee6971e99ec0122ad3d206f6a50c72b |