Skip to main content

An inline Bash script runner, for Python.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bash.py-0.3.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

bash.py-0.3.0-py2.py3-none-any.whl (6.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file bash.py-0.3.0.tar.gz.

File metadata

  • Download URL: bash.py-0.3.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for bash.py-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6f797cd5fe79f44a9b0c3950be049af8851c60d770b8badbfef289764ad0ab85
MD5 6bdb27229122b088c68ead8db593ac49
BLAKE2b-256 3fb1a7022d8ee58da1ebe8b7e473d711c40965cf15a7e19f5f5001608eae17d7

See more details on using hashes here.

File details

Details for the file bash.py-0.3.0-py2.py3-none-any.whl.

File metadata

  • Download URL: bash.py-0.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for bash.py-0.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 ea4811a7d54f2ee5f35e230267d7560d644c8652eb66626d0c3f3415b5258079
MD5 2985f3e0bbeb5f7463a69140ca1cd954
BLAKE2b-256 8bdfef6d251ec6dde8f9967fb95c517a980a096446b912f5e09c542680398751

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page