jupyterlab-primehub
Jupyterlab extension for PrimeHub
Requirements
- JupyterLab >= 2.2.5
Install
jupyter labextension install @infuseai/jupyterlab-primehub
pip install jupyterlab_primehub
jupyter serverextension enable jupyterlab_primehub
Uninstall
jupyter labextension uninstall @infuseai/jupyterlab-primehub
jupyter serverextension disable jupyterlab_primehub
pip uninstall jupyterlab_primehub
Build the Docker Image
Example docker file:
FROM jupyter/base-notebook
ARG PRIMEHUB_EXTENSION_VERSION="0.1.4"
USER $NB_UID
RUN pip install --no-cache-dir jupyterlab_primehub~=$PRIMEHUB_EXTENSION_VERSION && \
jupyter serverextension enable jupyterlab_primehub && \
jupyter labextension install @infuseai/jupyterlab-primehub@~v$PRIMEHUB_EXTENSION_VERSION && \
jupyter-lab build
Troubleshooting
-
If the JupyterLab < 2.2.5, you may see this error:
ValueError: No version of @infuseai/jupyterlab-primehub could be found that is compatible with the current version of JupyterLab. However, it seems to support a new version of JupyterLab. Consider upgrading JupyterLab. Conflicting Dependencies: JupyterLab Extension Package >=2.1.2 <2.2.0 >=2.2.5 <3.0.0 @jupyterlab/application >=2.1.1 <2.2.0 >=2.2.5 <3.0.0 @jupyterlab/apputils >=2.1.2 <2.2.0 >=2.2.5 <3.0.0 @jupyterlab/notebook >=5.1.0 <5.2.0 >=5.2.4 <6.0.0 @jupyterlab/services -
If the
jupyter-clientversion is too old, you may see this error:from jupyter_client import AsyncKernelManager ImportError: cannot import name ‘AsyncKernelManager’
-
If the
ipykernelversion is too old, you may see this error:AttributeError: 'AsyncKernelManager' object has no attribute ‘cleanup_resources'
Contributing
Please check DEVELOPMENT.
Metadata
Release files for jupyterlab-primehub 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| jupyterlab_primehub-0.1.4.tar.gz | 21.5 kB | Without provenance | Details for jupyterlab_primehub-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| jupyterlab_primehub-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for jupyterlab_primehub-0.1.4-py3-none-any.whl |
Total release size: 50.2 kB
Release files / jupyterlab_primehub-0.1.4.tar.gz
| Download URL | jupyterlab_primehub-0.1.4.tar.gz |
|---|---|
| Size | 21.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
13b0246d0f8076b60bf148944bd535ad14ea79157121b7a25e292d58bf1493b4
|
|
BLAKE2b-256 checksum How to use checksums |
3463cc0c7468208a9c01640f4b2fd7e6dee9698ac94a81ba3822ec29493131fe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.5.0.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
|
Release files / jupyterlab_primehub-0.1.4-py3-none-any.whl
| Download URL | jupyterlab_primehub-0.1.4-py3-none-any.whl |
|---|---|
| Size | 28.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a9d5fbf52793bc60ac9875e405dad9cfa7af2293cb03cdf94907eb9cb14e0db
|
|
BLAKE2b-256 checksum How to use checksums |
21c1ab95af62b21a16a5b5fc47d1364ae4aaa33f4fe3a72598f001bf16ec5456
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.5.0.1 requests/2.23.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
|
Security for jupyterlab-primehub 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.