tea-shell - execute command line tools like python functions, while you sit back and sip on your tea.
Project description
tee-shell
Tee shell is a set of utilities for running other applications.
It enables you to run shell commands in various modes and has an api for fine tuning your running processes.
Usage
>>> import tsh
>>> ls = tsh.Command("ls")
>>> ls = ls.bake("-1")
>>> process = ls("tsh")
>>> process.wait()
True
>>> print(process.read())
__init__.py
__pycache__
command.py
consts.py
contexts.py
decorators.py
errors.py
process.py
shell.py
types.py
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
tsh-0.0.1.tar.gz
(6.4 kB
view details)
Built Distribution
tsh-0.0.1-py3-none-any.whl
(12.4 kB
view details)
File details
Details for the file tsh-0.0.1.tar.gz
.
File metadata
- Download URL: tsh-0.0.1.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b64fcc208de6a8014a9e8c03a79b01dbca764938928f869de92aaeaf3cd070a |
|
MD5 | 5ed7664b81229ce2b9c61991d23ad242 |
|
BLAKE2b-256 | 1db415c783252bff0864812c52c31d3a2c9b1e87b4bc1821320f0a2643925511 |
File details
Details for the file tsh-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: tsh-0.0.1-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1250b76617cd3971be9d1f1e263ad8f60d20a4347b6d07b063d3d4fbd381ca21 |
|
MD5 | dc3704bd2c475535c14aa0adc4ef67ad |
|
BLAKE2b-256 | f196e76b01bc5e55afada407433ab80580c3df8ec63ab9856d88efd24ae2631a |