bash_kernel
A bash kernel for Jupyter
Decision gist · record as of 2026-08-14
Yes, if you need to run bash interactively in Jupyter and accept dormant maintenance. The package is stable for basic shell execution and has low install friction, but the lack of recent updates means you should verify compatibility with your specific Jupyter and Python versions before relying on it in production workflows.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a functioning interactive bash installation with GNU readline support; some Linux distributions ship bash without these features and need a separate, more complete bash package installed.
- Low install friction with a pure-Python wheel, but requires a post-install registration step (`python -m bash_kernel.install`) to function.
- Dormant maintenance status (last release 2025-01-05, no updates for 586 days) means bug fixes and compatibility updates are unlikely.
License · maintenance · safety
permissive license (permissive) — BSD License (permissive) allows commercial and private use with minimal restrictions, typical for Jupyter ecosystem packages.
last release 2025-01-05 (586 days) · last repo commit 2025-01-05 · 729 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 176,065 downloads/mo, #10,253 on PyPI
Alternatives
Verify before relying
pip install bash_kernel
python -m bash_kernel.install
jupyter notebook
# Then select Bash from the 'New' menu in the notebook interface- Whether the package works with current Jupyter versions beyond IPython 3 (mentioned in description but Python/IPython support is unspecified).
- Compatibility with recent Python versions and whether dormant status affects stability with modern Jupyter releases.
What it is and what it does
bash_kernel is a Jupyter kernel that lets you run bash commands interactively in notebook cells and console environments. It wraps bash through pexpect to provide a REPL interface, allowing you to execute shell scripts, system commands, and pipelines directly within Jupyter's notebook interface. The kernel also supports rich output—you can pipe images, HTML, and JavaScript to display functions to render them inline in notebook cells.
The package depends on pexpect (for shell interaction), ipykernel (for Jupyter integration), and filetype (for content detection). Installation is straightforward but requires a manual registration step after pip install. The project is dormant, with the last update in January 2025 and no active development, so compatibility with very recent Jupyter or Python versions may not be guaranteed.
Use it for
- Execute system administration or DevOps tasks directly in a notebook for documentation and reproducibility.
- Combine bash commands with Jupyter's notebook interface to create executable shell tutorials or runbooks.
- Generate and display plots or visualizations from command-line tools (gnuplot, graphviz) inline in notebooks.
- Prototype and test bash scripts interactively without leaving the notebook environment.
- Display HTML or JavaScript output from bash commands for interactive dashboards or reports.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to run bash interactively in Jupyter and accept dormant maintenance.
The package is stable for basic shell execution and has low install friction, but the lack of recent updates means you should verify compatibility with your specific Jupyter and Python versions before relying on it in production workflows.
Install
bash-kernel on PyPI
Before you install
Low install friction with a pure-Python wheel, but requires a post-install registration step (`python -m bash_kernel.install`) to function. Dormant maintenance status (last release 2025-01-05, no updates for 586 days) means bug fixes and compatibility updates are unlikely.
Requires a functioning interactive bash installation with GNU readline support; some Linux distributions ship bash without these features and need a separate, more complete bash package installed.
License in practice
BSD License (permissive) allows commercial and private use with minimal restrictions, typical for Jupyter ecosystem packages.
Quickstart
pip install bash_kernel
python -m bash_kernel.install
jupyter notebook
# Then select Bash from the 'New' menu in the notebook interface
Verify before relying
- Whether the package works with current Jupyter versions beyond IPython 3 (mentioned in description but Python/IPython support is unspecified).
- Compatibility with recent Python versions and whether dormant status affects stability with modern Jupyter releases.
Package facts
| License | permissive license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagespexpectipykernelfiletype |
| Maintenance | Dormant 586 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 176,065 / month, #10,253 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Framework :: JupyterLicense :: OSI Approved :: BSD LicenseProgramming Language :: Python :: 3Topic :: System :: Shells |
Evidence: bash_kernel-0.10.0-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “jupyter bash kernel”
- bash_kernelEnables running and interacting with bash commands directly inside…
- jupyterlab-lspAdds Language Server Protocol (LSP) integration to JupyterLab,…
- jupyter-kernel-clientConnects to live Jupyter Kernels over HTTP and WebSocket to execute…
Give your agent the search over MCP, or paste the wish link into any chat.
More Shells packages
Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.
Pexpect spawns and controls interactive console applications by sending input and matching output patterns, automating tasks that would otherwise require manual interaction.
IPython is an enhanced interactive Python shell and Jupyter kernel that provides object introspection, persistent input history, tab completion, magic commands, and integrated debugging.
Install it if you work interactively with Python, use Jupyter, or want to embed a rich shell in your application.
Provides bash and zsh tab completion for Python applications using argparse, allowing users to complete command-line arguments and options by pressing Tab.
Install it if you want to add professional-grade tab completion to your Python command-line tools.
Formats and parses numbers, file sizes, timespans, and other values into human-readable text; provides terminal interaction utilities including ANSI text styling and user prompts.
Adds colored output to Python's standard logging module using ANSI escape sequences, with automatic fallback support for Windows terminals.
However, it is abandoned and receives no maintenance, so it will not adapt to future Python changes or platform updates.
See also jupyter-kernel-gateway · xonsh · ipykernel · jupyter-nbmodel-client · spyder-kernels · jupyter · matplotlib-inline · jupyter-kernel-client · ipywidgets