Python3 - SubPS
Wrapper script for subprocess usage.
It only uses builtin modules.
Install
python3 -m pip install subps
See: PyPI
Usage
from subps import process, process_out_err, process_out, process_err, process_rc
process(cmd='ls -l')
# dict('stdout': 'stdout...', 'stderr': 'stderr...', 'rc': 0)
process_out_err(cmd='ls -l')
# tuple('stdout...', 'stderr...')
process_out(cmd='ls -l')
# 'stdout...'
process_err(cmd='ls -l')
# 'stderr...'
process_rc(cmd='ls -l')
# 0
Release files for subps 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| subps-1.0.1.tar.gz | 13.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| subps-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.5 kB
Release files / subps-1.0.1.tar.gz
| Download URL | subps-1.0.1.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f101e2b047e3b81ea87bcac9cc6e5d482b06be0cfb32060ac1548c3fb2e2c6fd
|
|
BLAKE2b-256 checksum How to use checksums |
055ebf366ca0ce8df61f39795bdc22750c13250e190eee4875ecf551603d770f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Release files / subps-1.0.1-py3-none-any.whl
| Download URL | subps-1.0.1-py3-none-any.whl |
|---|---|
| Size | 13.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a202597d5282c5703fb31bc7efcae4411e988dd4c130bbb8790032298f661167
|
|
BLAKE2b-256 checksum How to use checksums |
629bf9c34b4e65a60c29e3dc583e9b1a977ea0e8ed92ccd7917cdb8a31e6e2a1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|