• Stars
    star
    308
  • Rank 134,925 (Top 3 %)
  • Language
    Python
  • License
    Apache License 2.0
  • Created over 5 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An inline Bash script runner, for Python.

image PyPI version Code style: black Python 3.6+ supported

An inline Bash script runner, for Python.

Example Usage

>>> import bash

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

>>> proc = _
>>> proc.output
'hi\n'

>>> proc.return_code
0

Installation

$ pipenv install bash.py