Skip to content

aurex-linux/python-sh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Coverage Status

Version Downloads

sh (previously pbs) is a full-fledged subprocess replacement for Python 2.6 - 3.4 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.

Installation

$> pip install sh

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

Testing

First install the development requirements:

$> pip install -r requirements-dev.txt

Then use tox test runner:

$> tox

To run a single test for all environments:

$> tox FunctionalTests.test_unicode_arg

To run a single test for a single environment:

$> tox -e py34 FunctionalTests.test_unicode_arg

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages