Jupyterlab commands to launch jupyterlab proxy to a given port (modal window) and lauch it either as new jupyterlab tab or new browser tab
Project description
jupyterlab_proxy_launcher_command_extension
JupyterLab extension providing a command to launch jupyter-server-proxy connections via modal dialog, opening proxied services in either a JupyterLab tab or new browser window.
Features
- Modal dialog - Configure port, path suffix, and target (JupyterLab tab or browser window)
- JupyterLab tab - Embed proxied service in an IFrame within JupyterLab
- Browser tab - Open proxied service in a new browser window
- Command palette - Access via "Open Proxy Launcher" in the Proxy category
- Keyboard shortcut -
Ctrl+Shift+P(Windows/Linux) orCmd+Shift+P(Mac) - Programmatic API - Call with arguments to pre-fill dialog values
Usage
- Open command palette (
Ctrl+Shift+C/Cmd+Shift+C) - Search for "Open Proxy Launcher"
- Enter port number and optional path suffix
- Choose whether to open in new browser tab
- Click "Open"
Command Arguments
When calling the command programmatically, the following arguments are supported:
| Argument | Type | Description |
|---|---|---|
default_port |
number | Pre-fill port input |
default_path |
string | Pre-fill path suffix input |
default_newBrowserTab |
boolean | Pre-check the browser tab checkbox |
title |
string | Custom title for the JupyterLab tab |
Example:
app.commands.execute('proxy-launcher:open', {
default_port: 8501,
default_path: '/api/docs',
title: 'Streamlit App'
});
Requirements
- JupyterLab >= 4.0.0
- jupyter-server-proxy
Install
pip install jupyterlab_proxy_launcher_command_extension
Uninstall
pip uninstall jupyterlab_proxy_launcher_command_extension
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jupyterlab_proxy_launcher_command_extension-1.0.14.tar.gz.
File metadata
- Download URL: jupyterlab_proxy_launcher_command_extension-1.0.14.tar.gz
- Upload date:
- Size: 289.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c6cbf060dac743d8be85aebe314b4ba058939f95565f9b4603bc31e889aa3f23
|
|
| MD5 |
2a7a520e7ca81a91ff5612040b210f96
|
|
| BLAKE2b-256 |
f5153cd8b8641906386ae0e9faa958ef45b513e25139943f551729e324a64e58
|
File details
Details for the file jupyterlab_proxy_launcher_command_extension-1.0.14-py3-none-any.whl.
File metadata
- Download URL: jupyterlab_proxy_launcher_command_extension-1.0.14-py3-none-any.whl
- Upload date:
- Size: 18.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed31bcda4e56128fb9194edf74737c66e91c53447b5b53b8d17c00284c67897f
|
|
| MD5 |
c8f35cd4fbea1f63685aa5523892b3b9
|
|
| BLAKE2b-256 |
e35930ac2c83c612cca4c38c2c7a1f2e94235088db20ffdc51fae19a6f39ba59
|