Skip to main content

A spell checker for JupyterLab.

Project description

jupyterlab-spellchecker

Github Actions Status Binder

A JupyterLab extension highlighting misspelled words in markdown cells within notebooks and in the text files.

The JupyterLab extension is based on the spellchecker Jupyter Notebook extension and relies on Typo.js for the actual spell checking. Spellchecker suggestions are available from the context menu.

The extension provides (Hunspell) SCOWL dictionaries for:

  • American, British, Canadian, and Australian English
  • French,
  • German (Germany, Austria, Switzerland)
  • Portuguese,
  • Spanish.

JupyterLab Version

The extension has been tested up to JupyterLab version 3.0.

Installation

For JupyterLab 3.x:

pip install jupyterlab-spellchecker

For JupyterLab 2.x:

jupyter labextension install @ijmbarr/jupyterlab_spellchecker

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 jupyterlab_spellchecker 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

Before commit

Make sure that eslint passes:

jlpm run eslint:check

If there are any issues it might be possible to autofix them with:

jlpm run eslint

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-spellchecker-0.4.0.tar.gz (10.6 MB view details)

Uploaded Source

Built Distribution

jupyterlab_spellchecker-0.4.0-py3-none-any.whl (10.6 MB view details)

Uploaded Python 3

File details

Details for the file jupyterlab-spellchecker-0.4.0.tar.gz.

File metadata

  • Download URL: jupyterlab-spellchecker-0.4.0.tar.gz
  • Upload date:
  • Size: 10.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.3

File hashes

Hashes for jupyterlab-spellchecker-0.4.0.tar.gz
Algorithm Hash digest
SHA256 9a7efe3d36c390cff84e0c8b0cfcf37674b487d2639537ff5cb16904f269af8a
MD5 98043ded3f260c719ff8f67d22dc71fa
BLAKE2b-256 8b5712faacdba590d713f824e55a4cd61c16081532cba232c7cd151673c22ab5

See more details on using hashes here.

File details

Details for the file jupyterlab_spellchecker-0.4.0-py3-none-any.whl.

File metadata

  • Download URL: jupyterlab_spellchecker-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 10.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.8.3

File hashes

Hashes for jupyterlab_spellchecker-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 467d6c894b3cca872c8b3934127a8b58da2293b8d747bf1e0e541e7e97133020
MD5 a0ca8068b6bcb1f455b4057aa0ab60be
BLAKE2b-256 d6c3631a1ccb90d70e9cbf52ac3fbf2920207c41d8af129d6115630ca21fd99c

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