tmux through python
Project description
tpy
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.0.tar.gz
(5.1 kB
view details)
Built Distribution
File details
Details for the file tpy-0.1.0.tar.gz
.
File metadata
- Download URL: tpy-0.1.0.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 | 29a54678ce63da1dcd291077636d4f636dfe44dc9a1a5e87f41ccb05e0af10d0 |
|
MD5 | 15052400d9777f70e5bcca963c1ac302 |
|
BLAKE2b-256 | 5ea809d1104dba5571345f21410bf383d1f670efdc45ba94310fdd65263ebfb9 |
File details
Details for the file tpy-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: tpy-0.1.0-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 | 78d2484ee0dba77011b4a9ae63c121031ad50042c64f3c3bb18d12643537fbd2 |
|
MD5 | 9157b9384514cb3991fcafae93f694d9 |
|
BLAKE2b-256 | c5a77b043adbf7c1e54e039007d6809fb3db01748d093ea8dbc20c1494088468 |