sh
Python subprocess interface
sh (previously pbs) is a full-fledged subprocess interface for Python 2.6 - 3.2 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.
homepage ↗homepage ↗ pypi: sh github: amoffat/sh
Available in
| Overlay | Newest | Ebuilds | Last activity | |
|---|---|---|---|---|
| gentoo gitweb ↗ | 2.4.0 | 2 | 14 h | details › |
Versions & arches
| Version | Overlay | amd64 | arm64 | x86 | ppc64 | riscv | alpha | arm | hppa | loong | m68k | mips | ppc | s390 | sparc | Committed | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2.4.0 | gentoo | amd64 testing | arm64 testing | x86 testing | ppc64 testing | riscv testing | alpha testing | arm testing | hppa testing | loong testing | m68k testing | mips testing | ppc testing | s390 testing | sparc testing | — | view · download · history ↗ |
| 2.3.0 | gentoo | amd64 stable | arm64 stable | x86 stable | ppc64 stable | riscv testing | alpha testing | arm stable | hppa testing | loong testing | m68k testing | mips testing | ppc stable | s390 testing | sparc testing | — | view · download · history ↗ |
Use flags of 2.4.0
- test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)
- verify-provenance Verify provenance of PyPI distfiles (verifies that the artifact comes from upstream source repository)
4 expansion flags (python targets, ABIs, cpu flags…)
- python_targets_python3_12
- python_targets_python3_13
- python_targets_python3_14
- python_targets_python3_15
Runtime dependencies of 2.4.0
show 12 lines
python_targets_python3_12?
(
)
python_targets_python3_13?
(
)
python_targets_python3_14?
(
)
python_targets_python3_15?
(
)