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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: jupyterlab-spellchecker-0.5.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.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1

File hashes

Hashes for jupyterlab-spellchecker-0.5.0.tar.gz
Algorithm Hash digest
SHA256 a5b603b7d2d97096b82dffe205a5058015565598b5f66f7cf4df898424118298
MD5 33d9c153f484abd45289704787166864
BLAKE2b-256 9f9482a6a8bb9d8ec5b910abc3eed9b0ee6da37be2711c190d4387f6ce436f7d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: jupyterlab_spellchecker-0.5.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.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1

File hashes

Hashes for jupyterlab_spellchecker-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f6105b44ab144dd06ffba1a6cc2c068d0b50438e35d2de0355fae81cb29021b4
MD5 0c027a09233ec2168e6e7060096bb9f6
BLAKE2b-256 888bed0797bbebe14080dc89d7adbf5faf55c8c76a7c13a068a9b6bb0411ac21

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