bash.py

An inline Bash script runner, for Python.


Keywords
bash, bourne-shell, for-humans, hacktoberfest, python
License
MIT
Install
pip install bash.py==0.4.2

Documentation

bash.py

An inline Bash script runner, for Python.

Example Usage

>>> import bash

>>> bash.run("echo hi")
<BashProcess pid=24108 return_code=0>

>>> _.output
'hi\n'

Installation

$ pipenv install bash.py