Skip to main content

JupyterLab extension to display a warning dialog when opening a file that another user has open.

Project description

JupyterLab Open Warning

PyPI Latest Release PyPI Python Versions License CI

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 for hatch run dev to 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 lab

to completely reinstall the extension and start JupyterLab each time the source code changes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

jupyterlab_open_warning-0.2.0.tar.gz (94.5 kB view details)

Uploaded Source

Built Distribution

jupyterlab_open_warning-0.2.0-py3-none-any.whl (20.7 kB view details)

Uploaded Python 3

File details

Details for the file jupyterlab_open_warning-0.2.0.tar.gz.

File metadata

File hashes

Hashes for jupyterlab_open_warning-0.2.0.tar.gz
Algorithm Hash digest
SHA256 6d4dbaaeb6c1ca5dca53e89b7072814cad6aaba9c1fa64d2dbf05f9269a99328
MD5 ed3daf064048f15be3152caa57fbc56c
BLAKE2b-256 c7e8b731118397e63d48029fbfe69bbb0793ab5db1388156584aa95ac859627a

See more details on using hashes here.

File details

Details for the file jupyterlab_open_warning-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for jupyterlab_open_warning-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 65e359d869d8de51eff31fd519e13e364a3e8bff753cddc611fd5c5e2755bcd7
MD5 5487eb462da7c13a86bd2cfb4d19397b
BLAKE2b-256 50f433cb13e12a325f4b5c195a8f009887bce0246b9634b6ce34324611ba2566

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page