The devel/py-sh port
py3-sh-2.2.2p0 – subprocess interface: call any program like a function
Description
sh is a full-fledged subprocess replacement for Python that allows you
to call any program as if it were a function:
from sh import ifconfig
print(ifconfig("eth0"))
sh is not a collection of system commands implemented in Python.
sh relies on various Unix system calls and only works on Unix-like
operating systems - Linux, macOS, BSDs etc. Specifically, Windows is
not supported.
WWW: https://github.com/amoffat/sh
- Only for arches
-
aarch64
aarch64
alpha
amd64
amd64
arm
arm
hppa
i386
i386
mips64
mips64
mips64el
mips64el
powerpc
powerpc
powerpc64
powerpc64
riscv64
riscv64
sparc64
- Categories:
-
devel
lang/python
Library dependencies
Build dependencies
Run dependencies