Metadata-Version: 2.4
Name: jupyter-shell
Version: 0.1.0
Summary: An Anyshell terminal plugin for Jupyverse
License-Expression: MIT
License-File: LICENSE
Requires-Dist: anyio>=4.11,<5
Requires-Dist: anyshell[anytext]>=0.4
Requires-Dist: anytext>=9.3
Requires-Dist: fastapi>=0.115
Requires-Dist: fps>=0.6
Requires-Dist: jupyverse-api>=0.15,<0.16
Requires-Dist: jupyverse-auth>=0.2,<0.3
Requires-Dist: jupyverse-terminals>=0.2,<0.3
Requires-Dist: libghostty-py>=0.3,<0.4
Requires-Python: >=3.11
Description-Content-Type: text/markdown

# jupyter-shell

A [Jupyverse](https://github.com/jupyter-server/jupyverse) terminal plugin powered by [Anyshell](https://github.com/davidbrochart/anyshell).

## Install and run

With `pip`:

```sh
pip install 'jupyverse[jupyterlab,auth]'
pip install jupyter-shell
# Jupyverse comes with its terminal plugin, disable it to use ours:
jupyverse --disable terminals
```

Open a terminal from JupyterLab's launcher.

For a development setup, you can use `uv`:

```sh
uv run --with 'jupyverse[jupyterlab,auth]' jupyverse --disable terminals
```

## Execution mode

The default `shell.mode=subprocess` runs each terminal in an isolated worker.
An optional `inprocess` mode runs each Anyshell UI directly in an AnyIO task owned
by the plugin, without starting a process or using pipes:

```sh
jupyverse --disable terminals --set shell.mode=inprocess
```
