Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jpetrucciani/bash.py
An inline Bash script runner, for Python.
https://github.com/jpetrucciani/bash.py
bash bourne-shell for-humans hacktoberfest python
Last synced: 11 days ago
JSON representation
An inline Bash script runner, for Python.
- Host: GitHub
- URL: https://github.com/jpetrucciani/bash.py
- Owner: jpetrucciani
- License: apache-2.0
- Created: 2019-04-23T11:09:23.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T05:01:53.000Z (almost 2 years ago)
- Last Synced: 2024-10-18T23:21:28.040Z (22 days ago)
- Topics: bash, bourne-shell, for-humans, hacktoberfest, python
- Language: Python
- Homepage:
- Size: 50.8 KB
- Stars: 308
- Watchers: 6
- Forks: 20
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![image](https://travis-ci.org/jpetrucciani/bash.py.svg?branch=master)](https://travis-ci.org/jpetrucciani/bash.py)
[![PyPI
version](https://badge.fury.io/py/bash.py.svg)](https://badge.fury.io/py/bash.py)
[![Code style:
black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/ambv/black)
[![Python 3.6+
supported](https://img.shields.io/badge/python-3.6+-blue.svg)](https://www.python.org/downloads/release/python-360/)# An inline Bash script runner, for Python.
## Example Usage
```pycon
>>> import bash>>> bash.run("echo hi")
>>> proc = _
>>> proc.output
'hi\n'>>> proc.return_code
0
```## Installation
```shell
$ pipenv install bash.py
```