JupyterLab extension to display a warning dialog when opening a file that another user has open.
Project description
JupyterLab Open Warning
JupyterLab extension to display a warning dialog when opening a file that another user has open.
Installation
Install the latest version of JupyterLab Open Warning using pip:
pip install -U jupyterlab-open-warning
This extension should run alongside JupyterLab version 4 and the JupyterLab Real-Time Collaboration extension.
To automatically install along with Real-Time Collaboration, use the rtc extra:
pip install -U "jupyterlab-open-warning[rtc]"
While the Real-Time Collaboration extension is required in order to display open warning dialogs, the collaboration functionality can be disabled by running JupyterLab with the following option:
jupyter lab --YDocExtension.disable_rtc True
Development
To develop, the following dependencies must be installed:
To build the extension and start up a JupyterLab server for development, run:
hatch run dev
When the source code changes, the extension should be automatically rebuilt, and the updated extension will be used when the page is reloaded.
[!NOTE]
On Windows, symbolic links must be activated forhatch run devto work. On Windows 10 or above, this can be done by activating developer mode.Alternatively, you can run
hatch run clean hatch env remove default hatch run jupyter labto completely reinstall the extension and start JupyterLab each time the source code changes.
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_open_warning-0.2.0.tar.gz.
File metadata
- Download URL: jupyterlab_open_warning-0.2.0.tar.gz
- Upload date:
- Size: 94.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d4dbaaeb6c1ca5dca53e89b7072814cad6aaba9c1fa64d2dbf05f9269a99328
|
|
| MD5 |
ed3daf064048f15be3152caa57fbc56c
|
|
| BLAKE2b-256 |
c7e8b731118397e63d48029fbfe69bbb0793ab5db1388156584aa95ac859627a
|
File details
Details for the file jupyterlab_open_warning-0.2.0-py3-none-any.whl.
File metadata
- Download URL: jupyterlab_open_warning-0.2.0-py3-none-any.whl
- Upload date:
- Size: 20.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65e359d869d8de51eff31fd519e13e364a3e8bff753cddc611fd5c5e2755bcd7
|
|
| MD5 |
5487eb462da7c13a86bd2cfb4d19397b
|
|
| BLAKE2b-256 |
50f433cb13e12a325f4b5c195a8f009887bce0246b9634b6ce34324611ba2566
|