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.2.2.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

bash.py-0.2.2-py2.py3-none-any.whl (5.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: bash.py-0.2.2.tar.gz
  • Upload date:
  • Size: 2.5 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.2.2.tar.gz
Algorithm Hash digest
SHA256 a3690ff897f2f5e5a4ff8b4c011d9416f81ee960aa05c91f111a1d1e9f76262e
MD5 8c34300315a320af5ce459c3f36ebd46
BLAKE2b-256 a606388072e09ba770462968569d7b7739d5abb456230178a36a940fb9efa64b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bash.py-0.2.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 5.5 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.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f75667913cc3b6a3b4f7d3929c9e7e7062aaed131d9be8b59745fd628c7d4a97
MD5 0df0abec81399aecf1f22d00d26e6e3c
BLAKE2b-256 8d06676047dce7738b2f5da1aa74a30fe6c13892785d19e090875798d90c4618

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