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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for sh-1.07.tar.gz
Algorithm Hash digest
SHA256 0256bc7d5839daa298145f932bf9cc823d3ee54fa216e3fe52849c7d7f2e1d6e
MD5 68edad68bd108df713f1424bc65468e9
BLAKE2b-256 f082b6e2a923d49e0868a3114023d922cead3cffcc978e04504c73083aeb7106

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