Bash for Python is a library that allows you to run bash commands as Python function calls. Current version 0.6, last updated in 2013, no recent releases (abandoned).
pip install bash==0.6Verified import paths — ran on the pinned version, not inferred.
Run bash commands by calling them as functions. Use keyword arguments for flags.
Use shell escaping or prefer subprocess for dynamic commands.
import bash; bash.settings.bash='/usr/bin/bash'
Consider alternatives: sh, plumbum, subprocess.
pip install bash==0.6
Check that the command exists and is in PATH before calling.
No dependency data recorded yet.