Skip to main content

Python subprocess interface

Project description

sh (previously [pbs](http://pypi.python.org/pypi/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:

`python from sh import ifconfig print ifconfig("eth0") `

sh is not a collection of system commands implemented in Python.

# Installation

$> pip install sh

# Complete documentation @ http://amoffat.github.com/sh

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sh-1.09.tar.gz (26.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page