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.03.tar.gz (22.9 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for sh-1.03.tar.gz
Algorithm Hash digest
SHA256 d146dc2cf7df81cd3a9b1bd27a0762639cdeb79a4a72fbadb86b2690937f66e8
MD5 d25d1dab0eee98bd7ac501b44666353b
BLAKE2b-256 dcb852fafde99688c6a6c7e97950a7e1ac9c7b499f30aa8cf8228a4cd69e8774

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