Metadata-Version: 2.5
Name: jupyterlab_open_in_terminal_extension
Version: 1.0.20
Summary: Jupyterlab extension that complements the built-in Open in Terminal command, adding it for files and the empty file browser area
Project-URL: Homepage, https://github.com/stellarshenson/jupyterlab_open_in_terminal_extension
Project-URL: Bug Tracker, https://github.com/stellarshenson/jupyterlab_open_in_terminal_extension/issues
Project-URL: Repository, https://github.com/stellarshenson/jupyterlab_open_in_terminal_extension.git
Author-email: Stellars Henson <konrad.jelen@gmail.com>
License-Expression: BSD-3-Clause
License-File: LICENSE
Keywords: jupyter,jupyterlab,jupyterlab-extension
Classifier: Framework :: Jupyter
Classifier: Framework :: Jupyter :: JupyterLab
Classifier: Framework :: Jupyter :: JupyterLab :: 4
Classifier: Framework :: Jupyter :: JupyterLab :: Extensions
Classifier: Framework :: Jupyter :: JupyterLab :: Extensions :: Prebuilt
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.10
Requires-Dist: jupyterlab<5,>=4.6.0
Provides-Extra: dev
Requires-Dist: jupyter-builder<2,>=1.2.0; extra == 'dev'
Requires-Dist: jupyterlab<5,>=4.6; extra == 'dev'
Provides-Extra: test
Requires-Dist: pytest-cov<8,>=7.1; extra == 'test'
Requires-Dist: pytest<10,>=9.2; extra == 'test'
Description-Content-Type: text/markdown

# jupyterlab_open_in_terminal_extension

[![GitHub Actions](https://github.com/stellarshenson/jupyterlab_open_in_terminal_extension/actions/workflows/build.yml/badge.svg)](https://github.com/stellarshenson/jupyterlab_open_in_terminal_extension/actions/workflows/build.yml)
[![npm version](https://img.shields.io/npm/v/@stellarshenson/jupyterlab-open-in-terminal-extension.svg)](https://www.npmjs.com/package/@stellarshenson/jupyterlab-open-in-terminal-extension)
[![PyPI version](https://img.shields.io/pypi/v/jupyterlab-open-in-terminal-extension.svg)](https://pypi.org/project/jupyterlab-open-in-terminal-extension/)
[![Total PyPI downloads](https://static.pepy.tech/badge/jupyterlab-open-in-terminal-extension)](https://pepy.tech/project/jupyterlab-open-in-terminal-extension)
[![JupyterLab 4](https://img.shields.io/badge/JupyterLab-4-orange.svg)](https://jupyterlab.readthedocs.io/en/stable/)
[![Brought To You By KOLOMOLO](https://img.shields.io/badge/Brought%20To%20You%20By-KOLOMOLO-00ffff?style=flat)](https://kolomolo.com)
[![Donate PayPal](https://img.shields.io/badge/Donate-PayPal-blue?style=flat)](https://www.paypal.com/donate/?hosted_button_id=B4KPBJDLLXTSA)

> [!TIP]
> This extension is part of the [stellars_jupyterlab_extensions](https://github.com/stellarshenson/stellars_jupyterlab_extensions) metapackage. Install all Stellars extensions at once: `pip install stellars_jupyterlab_extensions`

Open a terminal at any location in the file browser with a single right-click. JupyterLab already provides "Open in Terminal" for folders; this extension completes the picture by adding the same command, with the same label, for files and the empty file browser area.

![Open in Terminal](.resources/screenshot.png)

## Features

- **Context menu on files** - Right-click any file to open a terminal in its parent folder
- **Context menu on empty area** - Right-click empty space to open a terminal in the current folder
- **Complements the built-in command** - Reuses JupyterLab's own "Open in Terminal" label and terminal command, so folders keep the native item and no duplicate appears
- **Seamless integration** - Works with JupyterLab's native terminal

## Requirements

- JupyterLab >= 4.6.0

> [!IMPORTANT]
> JupyterLab 4.6.0 is the first release to ship the built-in
> `terminal:open-folder-in-terminal` command, which this extension delegates the
> folder case to. On earlier 4.x releases a folder right-click would show no
> "Open in Terminal" item at all, so 4.6.0 is a hard floor rather than a
> recommendation.

## Install

```bash
pip install jupyterlab-open-in-terminal-extension
```

## Uninstall

```bash
pip uninstall jupyterlab-open-in-terminal-extension
```
