py3-sh-2.2.2p0
subprocess interface: call any program like a function
Back to search · Project homepage
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.
Package information
- Ports path
- devel/py-sh
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- devel, lang/python
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, alpha, hppa, sparc64
These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.
Direct dependencies
Runtime
Build
- lang/python/3
- devel/py-build
- devel/py-installer
- devel/py-poetry-core py3-poetry-core->=2.2.0
Test
- devel/py-sh py3-sh-2.2.2p0
- lang/python/3
- devel/py-test
Used by (2 dependency relationships)
Includes library, runtime, build and test relationships. Results load 100 at a time.