Skip to main content

jupyterlab_dictation_extension

GitHub Actions npm version PyPI version Total PyPI downloads JupyterLab 4 Brought To You By KOLOMOLO Donate PayPal

Dictation for JupyterLab: speak, and the transcribed text appears where you are typing. The extension takes the microphone audio that jupyterlab_audio_extension delivers to the server and transcribes it with a speech-to-text model.

Features

  • Speech in, text out - the transcribed text is written where the keyboard focus is while you speak, with no pause or stop needed: every word shows within 3 s of being spoken, first in the grey draft, then written once the words after it have decided its punctuation; full stops and capitals follow the sentences, not the pauses, and the mark after the last word comes with the next words or at stop
  • Grey draft - words the model has heard but not yet made final show in grey about 1 s after they are spoken: after the caret in a notebook cell or file editor, and in a label at a terminal or a text field; the final text, with its punctuation, replaces them, and a draft is never written into the document, the shell or the field
  • Spoken punctuation - say comma, full stop or period, question mark, exclamation mark, colon, semicolon, dash, open or close bracket, open or close quote, or new line, and the mark is written instead of the words; in a terminal a spoken new line presses Enter, and nothing else in the dictated text does
  • Status section button - the dictation button sits in the status bar section of jupyterlab_audio_extension, right of the microphone, and shows with a three-bar waveform whether or not dictation runs, once the dictation server part answers and while its option below is on; a click turns the microphone on when it is off and starts dictation, a second click stops it; while dictation runs, the waveform takes the colour of the active microphone
  • Transcription card - the gear at the end of the audio status section opens the audio settings panel, where dictation adds a Transcription card after the audio card: the model list with each model's name, licence and download size, and the language; a choice is saved to the dictation settings below, and the next start of dictation uses it
  • Download and Reset - the card says for each model whether its files are on the server's disk; Download opens the initialisation dialog for a model that is not, without changing the chosen model, and Reset deletes the downloaded files and the self-test result of one that is, except the model dictation is running with
  • Toggle key binding - press Ctrl+Shift+Space once to start dictation, press it again to stop
  • No top-bar button - the top bar holds no dictation button and the View menu holds no dictation item; the status section button and the key start and stop dictation
  • Any-key stop - any key press stops dictation; Enter stops it and still reaches the place you type, so a notebook cell gains its newline and a terminal runs its line, while every other stopping key is consumed
  • Configurable keys - the binding is a JupyterLab shortcut, changed in Settings → Keyboard Shortcuts; the default binding works out of the box
  • Floating panel - while dictation runs, a panel above the bottom edge of the work area, painted the theme's error red, shows a microphone, bars that follow your voice, the elapsed time and a stop button, and reads Stopped for 2 s at the stop; it is the only on-screen cue, with no line or button in the top bar; it moves to another edge rather than cover the line you write, the draft or the focused field, and a click on it outside the stop button's click area, which covers the panel's full 40 px height, reaches the text under it
  • One microphone path - audio comes from jupyterlab_audio_extension; this extension does not open the microphone a second way

Requirements

  • JupyterLab >= 4.6
  • jupyterlab_audio_extension, which captures the browser microphone and delivers the audio to the server
  • parec (PulseAudio utilities) and setpriv (util-linux) on the server

Speech models

The Transcription card and the settings offer two models; both transcribe English on the server's CPU.

The default model is Underdog Bark 3.0 Clean by Conway Research, in the ONNX conversion by codingSalafi (codingSalafi/akoway-bark-3.0-clean-onnx), licensed under CC BY 4.0. It runs through onnxruntime and leaves out filler words.

The second model is NVIDIA Nemotron Speech Streaming EN 0.6B, in the int8 ONNX export by Fangjun Kuang of sherpa-onnx (csukuangfj2/sherpa-onnx-nemotron-speech-streaming-en-0.6b-560ms-int8-2026-04-25). It is licensed by NVIDIA Corporation under the NVIDIA Open Model License. It reads the audio as one continuous stream and keeps its state for the whole dictation, also through pauses.

  • Pinned revision - each model's files download from one fixed revision, 4be3a531cc981843978fbb4ba20bf85de60091f3 for Bark and 52056fdc070914a48dcd68b31b44d6a6f5b85902 for Nemotron, never from a branch
  • First use - the extension ships no weights; the first start of dictation with a model opens a dialog that names the model, its author, its licence and the download size, about 243 MB for Bark and 662 MB for Nemotron; the model downloads only after you click Accept licence and download
  • Self-test - after the download the dialog loads the model and transcribes a LibriSpeech sample (CC BY 4.0); Start dictation shows once the transcript matches, and the dialog returns on every start until a self-test has passed

Settings

In Settings → Settings Editor → @stellarshenson/jupyterlab-dictation-extension:

  • Speech model (model) - the model from the extension's list; a model that has not passed initialisation opens the initialisation dialog on the next start
  • Language (language) - the language you speak; English (en) is the only one for now
  • Dictation button in the audio status section (statusButton) - on by default; off removes the status section button

Command line

jupyterlab-dictation reaches the running lab's own server: init prints the model's licence and, with --accept-licence, downloads and self-tests the model; config prints or sets the settings above; reset deletes a model's files; start starts dictation in the JupyterLab tab that has the focus, and stop stops it. jupyterlab-dictation --help and jupyterlab-dictation <command> --help describe every flag, output and refusal.

Agent Skill

.agents/skills/jupyterlab-dictation-extension/SKILL.md tells an AI assistant how to drive the jupyterlab-dictation CLI. It carries the rules --help cannot state; the command reference stays in --help.

The skill ships in the repository and in the wheel, at <sys.prefix>/share/jupyter/agents/skills/jupyterlab-dictation-extension/SKILL.md. One of the two links below makes it readable:

# After pip install, with the Python that runs the lab
mkdir -p ~/.agents/skills && ln -sfn "$(python -c 'import sys; print(sys.prefix)')/share/jupyter/agents/skills/jupyterlab-dictation-extension" ~/.agents/skills/jupyterlab-dictation-extension

# From a clone, into Claude Code
ln -sfn "$PWD/.agents/skills/jupyterlab-dictation-extension" ~/.claude/skills/jupyterlab-dictation-extension

Install

To install the extension, execute:

pip install jupyterlab_dictation_extension

After installing into a running lab, restart JupyterLab, then reload its browser page. On a page loaded before the restart, the status section button and the Transcription card are absent and Ctrl+Shift+Space starts nothing.

Uninstall

To remove the extension, execute:

pip uninstall jupyterlab_dictation_extension

Metadata

Release files for jupyterlab-dictation-extension 0.8.61

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for jupyterlab-dictation-extension 0.8.61
File Size Uploaded Provenance Actions
jupyterlab_dictation_extension-0.8.61.tar.gz 655.8 kB Without provenance Details for jupyterlab_dictation_extension-0.8.61.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jupyterlab-dictation-extension 0.8.61
File Interpreter ABI Platform Actions
jupyterlab_dictation_extension-0.8.61-py3-none-any.whl Python 3 none any Details for jupyterlab_dictation_extension-0.8.61-py3-none-any.whl

Total release size: 933.1 kB

Release files / jupyterlab_dictation_extension-0.8.61.tar.gz

Download URL jupyterlab_dictation_extension-0.8.61.tar.gz
Size 655.8 kB
Tags Source
SHA-256 checksum
How to use checksums
161161a278653ed02b8aa0d4a9e068e2f5ea6aefbfd58f79c6f31d7803a255c8
BLAKE2b-256 checksum
How to use checksums
14471c2fd2b80b9e1005eb574282105d943c1a8bc7c3f2ecbca37b028b9d92d4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Release files / jupyterlab_dictation_extension-0.8.61-py3-none-any.whl

Download URL jupyterlab_dictation_extension-0.8.61-py3-none-any.whl
Size 277.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d581589cf71c78d86c97933a2e3737abe7ae37f5f43bb01b3580255ae1708a22
BLAKE2b-256 checksum
How to use checksums
4ddcad6c322a3a07b237b7c9ccfe746fb12ceec42b9757f1fcf788b574704006
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.10

Security for jupyterlab-dictation-extension 0.8.61

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page