/bash_kernel

A bash kernel for IPython

Primary LanguagePython

A simple IPython kernel for bash

This requires IPython 3.

To install:

pip install bash_kernel
python -m bash_kernel.install

To use it, run one of:

ipython notebook
# In the notebook interface, select Bash from the 'New' menu
ipython qtconsole --kernel bash
ipython console --kernel bash

For details of how this works, see the Jupyter docs on wrapper kernels, and Pexpect's docs on the replwrap module