Skip to content
This repository has been archived by the owner on Aug 15, 2021. It is now read-only.

crawl-space/shellout

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Latest PyPI version

Number of PyPI downloads

MIT License

shellout provides an OO-like interface to running shell commands.

Usage

>>> import shellout as so
>>> print so.echo("hello, world")
... 'hello, world'
>>> print so.python.version()
... 'Python 2.7.1'
>>> print so.ls.color["always"]("/")
... bin
... dev
... etc
... home
... lib
... opt
... proc
... root
... sbin
... sys
... tmp
... usr
... var
>>> print so.echo('with "both" \'quotes\'')
... with "both" 'quotes'

Installation

$ pip install shellout

About

Make your shelled out calls look like genuine OO code

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages