Skip to main content

imjoy-jupyterlab-extension

Github Actions Status

Run ImJoy plugins in JupyterLab

Requirements

  • JupyterLab >= 3.0

Install

pip install imjoy-jupyterlab-extension

Contributing

Development install

Note: You will need NodeJS to build the extension package.

The jlpm command is JupyterLab's pinned version of yarn that is installed with JupyterLab. You may use yarn or npm in lieu of jlpm below.

# Clone the repo to your local environment
# Change directory to the imjoy-jupyterlab-extension directory
# Install package in development mode
pip install -e .
# Link your development version of the extension with JupyterLab
jupyter labextension develop . --overwrite
# Rebuild extension Typescript source after making changes
jlpm run build

You can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.

# Watch the source directory in one terminal, automatically rebuilding when needed
jlpm run watch
# Run JupyterLab in another terminal
jupyter lab

With the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).

By default, the jlpm run build command generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:

jupyter lab build --minimize=False

Uninstall

pip uninstall imjoy-jupyterlab-extension

Note

npm run watch:labextension
pip install jupyter_packaging
npm run install:extension
jupyter lab

Publish

The setup.py script will rebuild the static files, therefore run:

sh publish.sh

Release files for imjoy-jupyterlab-extension 0.1.13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for imjoy-jupyterlab-extension 0.1.13
File Size Uploaded
imjoy-jupyterlab-extension-0.1.13.tar.gz 237.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for imjoy-jupyterlab-extension 0.1.13
File Interpreter ABI Platform
imjoy_jupyterlab_extension-0.1.13-py3-none-any.whl Python 3 none any Details

Total release size: 335.7 kB

Release files / imjoy-jupyterlab-extension-0.1.13.tar.gz

Download URL imjoy-jupyterlab-extension-0.1.13.tar.gz
Size 237.3 kB
Tags Source
SHA-256 checksum
How to use checksums
2cc83e630cdbc86693f1e8fa2c8823684f632edac7276335d5ca3732d6567f7f
BLAKE2b-256 checksum
How to use checksums
1c410ac7be3d0a54e890932d649a45e11f9c4047aecee2e00ee6ad172f849dd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.5

Release files / imjoy_jupyterlab_extension-0.1.13-py3-none-any.whl

Download URL imjoy_jupyterlab_extension-0.1.13-py3-none-any.whl
Size 98.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
68c17e89e06d0e484fe2c7a27eb02970f06a4e6dd6798961536c418c26571d1c
BLAKE2b-256 checksum
How to use checksums
15efd7553d9968f317d02ee3e7819be5c9fc6cfa48e9fb3cf0cf92043c6a4205
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.5

Release history Release notifications | RSS feed

0.2.6

2 release files

0.2.5

2 release files

This release

0.1.13 This release

2 release files

0.1.12

2 release files

0.1.11

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page