The devel/py-sh port
py3-sh-2.2.2p0 – subprocess interface: call any program like a function (cvsweb github mirror)
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
Maintainer
The OpenBSD ports mailing-list
Categories
Build dependencies
Run dependencies
Test dependencies
Files
- /usr/local/lib/python3.12/site-packages/__pycache__/
- /usr/local/lib/python3.12/site-packages/__pycache__/sh.cpython-312.opt-1.pyc
- /usr/local/lib/python3.12/site-packages/__pycache__/sh.cpython-312.pyc
- /usr/local/lib/python3.12/site-packages/sh-2.2.2.dist-info/
- /usr/local/lib/python3.12/site-packages/sh-2.2.2.dist-info/METADATA
- /usr/local/lib/python3.12/site-packages/sh-2.2.2.dist-info/RECORD
- /usr/local/lib/python3.12/site-packages/sh-2.2.2.dist-info/WHEEL
- /usr/local/lib/python3.12/site-packages/sh-2.2.2.dist-info/licenses/
- /usr/local/lib/python3.12/site-packages/sh-2.2.2.dist-info/licenses/LICENSE.txt
- /usr/local/lib/python3.12/site-packages/sh.py