A JupyterLab server extension
Project description
jupyterlab_primehub
Jupyterlab extension for PrimeHub
Requirements
- JupyterLab >= 2.0
Install
jupyter labextension install @infuseai/jupyterlab-primehub
pip install jupyterlab_primehub
jupyter serverextension enable jupyterlab_primehub
Contributing
Install
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
# Move to jupyterlab_primehub directory
# Install dependencies
jlpm
# Build Typescript source
jlpm build
# Link your development version of the extension with JupyterLab
jupyter labextension install .
# Rebuild Typescript source after making changes
jlpm build
# Rebuild JupyterLab after making any changes
jupyter lab build
You can watch the source directory and run JupyterLab in watch mode to watch for changes in the extension's source and automatically rebuild the extension and application.
# Watch the source directory in another terminal tab
jlpm watch
# Run jupyterlab in watch mode in one terminal tab
jupyter lab --watch
Now every change will be built locally and bundled into JupyterLab. Be sure to refresh your browser page after saving file changes to reload the extension (note: you'll need to wait for webpack to finish, which can take 10s+ at times).
Uninstall
jupyter labextension uninstall @infuseai/jupyterlab-primehub
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
Built Distribution
File details
Details for the file jupyterlab_primehub-0.1.1.tar.gz
.
File metadata
- Download URL: jupyterlab_primehub-0.1.1.tar.gz
- Upload date:
- Size: 19.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5d8d00e385279b540933a2a3008785ae745698d4c510359ea59ba868daee9ded |
|
MD5 | bcc11ed4cbf156787a2a6cd6c89beb99 |
|
BLAKE2b-256 | 7dc0638effdd4cd94c5650d9d1d91ae9858acecedfc871630442e1dfd249e4ce |
File details
Details for the file jupyterlab_primehub-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: jupyterlab_primehub-0.1.1-py3-none-any.whl
- Upload date:
- Size: 27.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.7.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c33dce2bdf4af38853ad10adbdcac1ad8badcae48ef8b6620058b171790b8c1a |
|
MD5 | 6fbc5d42a5c58c07434acd401ed30a52 |
|
BLAKE2b-256 | 0ca3e3087177c73d7d50ecf31172a406adcf02b6ee0b9d70ec932bda2d8c8703 |