Skip to main content

A JupyterLab extension to provide Launcher icons for favorites. Allows 'bookmarking' files for quick access from the Launcher.

Project description

jupyterlab-bookmarks-extension

PyPI version Github Actions Status Codacy Badge

A JupyterLab extension to provide Launcher icons for favorites. Allows bookmarking files for quick access from the Launcher.

This extension is composed of a Python package named jupyterlab_bookmarks_extension for the server extension and a NPM package named jupyterlab-bookmarks-extension for the frontend extension.

Intro

Intro

Requirements

  • JupyterLab >= 2.0 (preferably 2.2.0)

Install

Note: You will need NodeJS to install the extension.

pip install jupyterlab_bookmarks_extension
jupyter lab build

Troubleshoot

If you are seeing the frontend extension but it is not working, check that the server extension is enabled:

jupyter serverextension list

If the server extension is installed and enabled but you are not seeing the frontend, check the frontend is installed:

jupyter labextension list

If it is installed, try:

jupyter lab clean
jupyter lab build

Contributing

Install for development

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-bookmarks-extension directory

# Install server extension
pip install -e .
# Register server extension
jupyter serverextension enable --py jupyterlab_bookmarks_extension --sys-prefix

# 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

pip uninstall jupyterlab_bookmarks_extension
jupyter labextension uninstall jupyterlab-bookmarks-extension

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_bookmarks_extension-0.5.6.tar.gz (39.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

jupyterlab_bookmarks_extension-0.5.6-py3-none-any.whl (106.7 kB view details)

Uploaded Python 3

File details

Details for the file jupyterlab_bookmarks_extension-0.5.6.tar.gz.

File metadata

  • Download URL: jupyterlab_bookmarks_extension-0.5.6.tar.gz
  • Upload date:
  • Size: 39.3 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.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.3

File hashes

Hashes for jupyterlab_bookmarks_extension-0.5.6.tar.gz
Algorithm Hash digest
SHA256 d9c33d0105763d6fdcf4f3d56e8917d1833d1e5394d09b881285cbb786953bd5
MD5 c4f3c8df1933082bd4a07c95b96edf14
BLAKE2b-256 21526cd1002aacbbb0c1c8e6931b12f4f78e6ba768c4d5a67084224833a23aa8

See more details on using hashes here.

File details

Details for the file jupyterlab_bookmarks_extension-0.5.6-py3-none-any.whl.

File metadata

  • Download URL: jupyterlab_bookmarks_extension-0.5.6-py3-none-any.whl
  • Upload date:
  • Size: 106.7 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.2.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.7.3

File hashes

Hashes for jupyterlab_bookmarks_extension-0.5.6-py3-none-any.whl
Algorithm Hash digest
SHA256 f8654918c9b6cc98eaacfe9ad34a32ed3a762fac44701c0757970d579d38b9a1
MD5 5c6e19cbb15c795bf69e700c08007415
BLAKE2b-256 5febf2996f213bcf68065c648a591f807ec6e9d30bf7ce7519dcf02058c7a99c

See more details on using hashes here.

Supported by

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