Metadata-Version: 2.1
Name: dockerfile_kernel
Version: 0.1.0
Summary: A Jupyter kernel that interprets Dockerfiles
Author: Marvin Weitz, Marco Lorenz, Shuangshuang Li
Author-email: Dominic Kempf <dominic.kempf@iwr.uni-heidelberg.de>
License: Copyright 2023, Dominic Kempf, Scientific Software Center, Heidelberg University
        
        Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
License-File: LICENSE.md
Classifier: Framework :: Jupyter
Classifier: Framework :: Jupyter :: JupyterLab
Classifier: Framework :: Jupyter :: JupyterLab :: 4
Classifier: Framework :: Jupyter :: JupyterLab :: Extensions
Classifier: Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Requires-Python: >=3.8
Requires-Dist: docker
Requires-Dist: ipykernel
Requires-Dist: ipylab
Requires-Dist: ipython
Requires-Dist: jupyter-client
Requires-Dist: jupyter-server<3,>=2.0.1
Requires-Dist: prettytable
Description-Content-Type: text/markdown

# dockerfile-kernel

This implements a JupyterLab kernel to interpret Dockerfiles.

**This is the result of a student's practical.**

## Setup

#### Prerequisites

- Tested on Linux only
- [Docker](https://docs.docker.com/engine/install/ubuntu/) needs to be installed
- The user needs to be in the `docker` group (see e.g. [here](https://askubuntu.com/a/739861))
- [JupyterLab](https://jupyterlab.readthedocs.io/en/stable/getting_started/installation.html) >= 4.0.0 needs to be installed
- _(optional)_ [Node.js](https://nodejs.org/en/download/package-manager) >= 18 needs to be installed for frontend extensions to be installed

#### Installation

```bash
git clone https://github.com/MarvinWeitz/dockerfile-kernel.git
cd dockerfile-kernel
python -m pip install -e .
python -m dockerfile_kernel.install
```

_(optional)_ To install the frontend extensions

```bash
python -m pip install -e ./docker_extension
python -m pip install -e ./docker_extension/export/
```

#### Execution

`jupyter lab`
