An open API service indexing awesome lists of open source software.

https://github.com/badouralix/bash-in-jupyter

Develop in bash like the future is already there
https://github.com/badouralix/bash-in-jupyter

bash jupyter kind kubernetes notebook vscode

Last synced: about 2 months ago
JSON representation

Develop in bash like the future is already there

Awesome Lists containing this project

README

          

# Bash in Jupyter

Bash scripts are the best ! But sometimes it is quite hard to iterate on them as
fast as with python scripts. This small repository aims to demonstrate how we
can leverage existing tooling to develop bash scripts.

- [Bootstrap project](#bootstrap-project)
- [Install dependencies](#install-dependencies)
- [Jupyter Notebooks](#jupyter-notebooks)
- [Inline Code Cells](#inline-code-cells)
- [Documentation](#documentation)

## Bootstrap project

Skip this section, it is only useful to me to remember how to bootstrap this
repository

```bash
PIPENV_VENV_IN_PROJECT=enabled pipenv install --dev jupyter
```

## Install dependencies

```bash
PIPENV_VENV_IN_PROJECT=enabled pipenv sync --dev
```

## Jupyter Notebooks

See how we can leverage _notebooks_ to build an interactive bash script in
[bash.ipynb](bash.ipynb)

![bash.ipynb screenshot](https://user-images.githubusercontent.com/19719047/80865057-0cb6c680-8c87-11ea-8e0c-bf0877594132.png)

## Inline Code Cells

See how we can leverage _inline code cells_ to build an interactive bash script
in [bash.py](bash.py)

![bash.py screenshot](https://user-images.githubusercontent.com/19719047/80865059-10e2e400-8c87-11ea-853a-998e799acb7f.png)

## Documentation

-
-
-
-
-
-