Skip to main content

Python subprocess interface

Project description

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

`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.05.tar.gz (23.2 kB view details)

Uploaded Source

File details

Details for the file sh-1.05.tar.gz.

File metadata

  • Download URL: sh-1.05.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sh-1.05.tar.gz
Algorithm Hash digest
SHA256 d5463c1583d8ff3c669b6d86b78265651eee55660dee7523c91f9c3c11c97efd
MD5 0077ceceaede2733245f7931e8da9b0f
BLAKE2b-256 bd65989297dc868f0651f97a108468b6467d494b508f2104e37d550d0653b34b

See more details on using hashes here.

Supported by

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