Bug#1063628: ITP: python-command-runner -- a platform-agnostic external command execution library for python with extra goodies
Package: wnpp
Severity: wishlist
Owner: Harlan Lieberman-Berg <hlieberman@debian.org>
X-Debbugs-Cc: debian-devel@lists.debian.org, angel@beanfield.com, hlieberman@debian.org
* Package name : python-command-runner
Version : 1.6.0
Upstream Contact: Orsiris de Jong
* URL : https://github.com/netinvent/command_runner
* License : BSD-3-clause
Programming Lang: Python 3
Description : a platform-agnostic external command execution library for python
command_runner's purpose is to run external commands from python, just like
subprocess on which it relies, while solving various problems a developer may
face among:
- Handling of all possible subprocess.popen / subprocess.check_output scenarios
/ python versions in one handy function without encoding / timeout hassle
- Allow stdout/stderr stream output to be redirected to callback functions /
output queues / files so you get to handle output in your application while
commands are running
- Callback to optional stop check so we can stop execution from outside
command_runner
- Callback with optional process information so we get to control the process
from outside command_runner
- Callback once we're finished to ease thread usage
- Optional process priority and io_priority settings
- System agnostic functionality, the developer shouldn't carry the burden of Windows & Linux differences
- Optional Windows UAC elevation module compatible with CPython, PyInstaller & Nuitka
- Optional Linux sudo elevation compatible with CPython, PyInstaller & Nuitka
My plan is to maintain this package under the auspices of the Debian Python
Team. I am packaging this module in part because it is a direct dependency of
LibreNMS, though I don't currently have plans to package that.
Sincerely,
--
Harlan Lieberman-Berg
~hlieberman
Reply to: