extproc-0.0.3
توضیحات
extproc -- easy fork-exec and pipe with I/O redirection
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | extproc-0.0.3 |
| نام | extproc |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Anh Hai Trinh |
| ایمیل نویسنده | mailto:anh.hai.trinh@gmail.com |
| آدرس صفحه اصلی | http://github.com/aht/extproc/ |
| آدرس اینترنتی | https://pypi.org/project/extproc/ |
| مجوز | UNKNOWN |
extproc is a layer on top of subprocess. The subprocess module supports
a rich API but is clumsy for many common use cases, namely sync/async
fork-exec, command substitution and pipelining, all of which is trivial
to do on system shells.
The goal is to make Python a sane alternative to non-trivial shell scripts.
Features:
* Easy to fork-exec commands, wait or no wait
* Easy to capture stdout/stderr of children (command substitution)
* Easy to express I/O redirections
* Easy to construct pipelines
* Use short names for easy interactive typing
Documentation is at <http://github.com/aht/extproc/>.
This module depends on Python 2.6, or where subprocess is available.
Doctests require /bin/sh to pass. Tested on Linux.
This is an alpha release. Expect bugs.
نحوه نصب
نصب پکیج whl extproc-0.0.3:
pip install extproc-0.0.3.whl
نصب پکیج tar.gz extproc-0.0.3:
pip install extproc-0.0.3.tar.gz