python-sh - Python subprocess interface

Property Value
Distribution Ubuntu 16.04 LTS (Xenial Xerus)
Repository Ubuntu Universe amd64
Package name python-sh
Package version 1.11
Package release 1
Package architecture all
Package type deb
Installed size 118 B
Download size 22.20 KB
Official Mirror
sh (previously pbs) is a full-fledged subprocess replacement 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.
This package provides Python 2 module bindings only.


Package Version Architecture Repository
python-sh_1.11-1_all.deb 1.11 all Ubuntu Universe
python-sh - - -


Name Value
python:any >= 2.7.5-5~
python:any << 2.8


Type URL
Binary Package python-sh_1.11-1_all.deb
Source Package python-sh

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install python-sh deb package:
    # sudo apt-get install python-sh




2015-05-02 - Tianon Gravi <>
python-sh (1.11-1) unstable; urgency=medium
* Update to 1.11 upstream release.
2014-07-31 - Tianon Gravi <>
python-sh (1.09-1) unstable; urgency=medium
* Initial release (Closes: #699123).

See Also

Package Description
python-shade_1.5.1-0ubuntu1_all.deb Client library for operating OpenStack clouds
python-shape-msgs_1.12.3-5_all.deb Messages relating to Robot OS shape, Python interface
python-shapely-doc_1.5.13-1build1_all.deb geometric objects, predicates, and operations (documentation)
python-shapely_1.5.13-1build1_amd64.deb geometric objects, predicates, and operations (Python 2)
python-shellescape_3.4.1-1_all.deb escapes characters to safely assemble command lines
python-shelltoolbox_0.2.1+bzr17-1.1_all.deb Helpers for using shell commands from within Python
python-shogun_3.2.0-5.2_amd64.deb Large Scale Machine Learning Toolbox
python-shortuuid_0.4.2-4ubuntu1_all.deb generates concise, unambiguous, URL-safe UUIDs
python-shotgun_0.1.0+2016.12.30.git.0682f20c42-1_all.deb Create and save Fuel diagnostic snapshots
python-sidl_1.4.0.dfsg-8.2_amd64.deb Scientific Interface Definition Language (SIDL) Python runtime
python-sievelib_0.9.2-1_all.deb Client-side Sieve and Managesieve library
python-sigmask_2.4.1-3_amd64.deb module for saving and restoring the signal mask
python-silo_4.10.2-5build2_amd64.deb Python interface to the SILO Scientific I/O library
python-simpleeval_0.8.7-1_all.deb Simple, safe single expression evaluator library (Python 2)
python-simpleparse-doc_2.1.0a1-7_all.deb documentation for simpleparse, a simple parser generator for Python