Skip to main content

QR Code & Barcode Scanner for JupyterLab: the Jupyter logo, the launcher card and the file browser command, and a QR code and a barcode being read

QR Code & Barcode Scanner for JupyterLab

Ask AI

ChatGPT Claude Gemini Grok Perplexity Copilot DeepSeek Meta AI Qwen

Choose an AI assistant to explain this destination using its public sources. Gemini opens gemini.google.com. Gemini, Copilot, DeepSeek, Meta AI and Qwen require pasting the prompt below; the other links include it in their URL. Sign-in or a manual paste may still be required. Check the answer against the documentation.

Copy the plain-text prompt

Use the code block's copy control, or select its complete text, then paste it into your assistant.

Help me understand QR Code & Barcode Scanner for JupyterLab (integrations/jupyterlab/README.md) for QR Code & Barcode Scanner, the open-source scanner. Source documentation; publication is not implied. Provided README context (verify against the sources): A JupyterLab extension that reads every QR code and barcode in an image. It opens a scanner panel from the launcher, the command palette or the file browser, and lists each code with its format and its exact text, next to the engine's full report. The open-source engine runs in your browser tab as WebAssembly: the image is read there and is not uploaded anywhere, and no kernel is needed. Read the public documentation below. Explain what this destination does, its documented installation or access steps, a minimal example if supported, prerequisites, limitations and license. Distinguish published packages from working source and preparation. Cite your sources; if a page is unavailable or a fact cannot be checked, say so. Do not invent installation commands, benchmark results or comparisons. Answer in my language. Public sources: https://github.com/qrcode-ai-com/qrcode-barcode-scanner-rust/blob/main/integrations/jupyterlab/README.md https://qrcode-ai.com/en-US/qr-code-scanner https://qrcode-ai.com/en-US/barcode-scanner https://qrcode-ai.com/en-US/qr-code-scanner/integrations/jupyterlab https://qrcode-ai.com/en-US/barcode-scanner/integrations/jupyterlab https://qrcode-ai.com/en-US/qr-code-generator https://qrcode-ai.com/en-US/barcode-generator

A JupyterLab extension that reads every QR code and barcode in an image. It opens a scanner panel from the launcher, the command palette or the file browser, and lists each code with its format and its exact text, next to the engine's full report. The open-source engine runs in your browser tab as WebAssembly: the image is read there and is not uploaded anywhere, and no kernel is needed.

The QR code scanner and the barcode scanner are QR Code AI's scanning pages in the browser. This extension follows the same route as the QR code scanner JupyterLab guide and the barcode scanner JupyterLab guide. If a page is not online yet, this README is the reference.

To make a test image with a known value, use the QR code generator or the barcode generator. Put the exported image next to your notebooks, scan it from the file browser and compare the text the panel lists with the text you encoded.

The QR Code & Barcode Scanner panel in JupyterLab, beside the file browser: the sample image scanned with the full profile lists a QR code with https://qrc-ai.com/76xMa and a Code 128 barcode with STOCK-4827

Status

The extension is on PyPI as jupyterlab-qrcode-barcode-scanner 0.1.0. The engine repository published that version from its tag jupyterlab-v0.1.0, after the owner's review, through PyPI trusted publishing: no token is stored. The files on PyPI are the sdist and the wheel that the tag's run built, checked with twine check --strict, installed with JupyterLab 4.6.6 in a new environment and scanned on the sample through the panel in the three profiles and from the file browser. The wheel bundles the published engine @qrcode-ai-com/qrcode-barcode-scanner-wasm 0.12.0.

JupyterLab's Extension Manager reads its catalogue from PyPI, so it lists the extension once PyPI serves it; the manager caches its list for up to five minutes. What the listing shows, and where each value comes from, are in LISTING.md.

Install

It is a prebuilt extension: one Python wheel that holds the built frontend, the way JupyterLab 4 installs extensions with pip and lists them in its Extension Manager. JupyterLab needs no rebuild, Node.js is not needed to use it, and it adds no server or kernel code.

Install it from PyPI in the environment that runs JupyterLab 4, then reload the JupyterLab page:

python -m pip install jupyterlab-qrcode-barcode-scanner

Or, in JupyterLab, open the Extension Manager in the left sidebar (enable it if asked), search for qrcode, install jupyterlab-qrcode-barcode-scanner and reload the page.

To try a change to the extension, build the wheel from this folder in a checkout of this repository instead. That needs Node.js 22 and Python 3.9 or later:

cd integrations/jupyterlab
npm ci
python -m pip install jupyter-builder==1.3.0 build
npm run build:prod
python -m build
python -m pip install dist/jupyterlab_qrcode_barcode_scanner-0.1.0-py3-none-any.whl

Either way, jupyter labextension list shows it as @qrcode-ai-com/jupyterlab-qrcode-barcode-scanner.

Use

  • Launcher: the QR Code & Barcode Scanner card, under Other.
  • Command palette: QR Code & Barcode Scanner.
  • File browser: right-click a PNG, JPEG, WebP or GIF file and choose Scan for QR codes and barcodes. The panel opens and scans that file.
  • Address: /lab?qrcode-barcode-scanner opens JupyterLab with the panel.

In the panel, choose an image from your computer or use a file of the file browser, then pick a profile. Changing the profile scans the same image again.

  • fast suits uploads and gives a reduced quality score.
  • frame is made for camera frames and gives no score.
  • full searches deepest and gives the full score; artistic QR codes from a generator need it.

Each code is listed with its format, the kind of payload (a URL, Wi-Fi settings, plain text) and its exact text. Decoded text is shown as text: the panel never opens a decoded link. The scannability score of the first code sits above the list, and the engine's full JSON report below it. The panel's What runs here section names the browser package, its version, the SHA-256 of its WebAssembly module and the engine version that loaded, so you can check what ran.

Privacy

The scan runs in the browser tab that shows JupyterLab. An image chosen from your computer never leaves it. A file of the file browser is read through the Jupyter server's contents API, which already serves that file to the tab; nothing else is requested. The extension sends no telemetry and makes no other network request.

Limits

  • JupyterLab 4 only. It was tested on JupyterLab 4.6.6. Jupyter Notebook 7 loads JupyterLab 4 extensions too, but this one has not been tried there.
  • The scan runs on the page's main thread without a time budget. A full scan of a large image can keep the tab busy for a few seconds.
  • An image wider or taller than 10,000 pixels, or above 64 million pixels, is refused with the engine's QRS- code, and the panel says so.
  • A content security policy that forbids WebAssembly stops the engine from loading; the panel then shows a loading error and scans nothing.
  • The wheel is about 1 MB, most of it the engine's WebAssembly module.

Develop

cd integrations/jupyterlab
npm ci
npm test

The unit tests load the same WebAssembly module under Node, scan the repository's sample with the three profiles and check the exact codes, the sentence and the score line the panel shows, and how refused inputs and cut scans are reported. The workflow integration-jupyterlab of the engine repository then builds the wheel, installs it with JupyterLab 4.6.6 in a clean environment, opens /lab?qrcode-barcode-scanner in Chrome, scans the sample through the panel's own file input with each profile and checks every code and link, then uninstalls the wheel and checks that JupyterLab no longer has the extension. LISTING.md holds the publication kit.

How it works

How the browser package works, in three steps: install and initialize, pass an image or a camera frame to the engine in the page, and read the report

The extension bundles the published browser package and its WebAssembly module. The panel reads the image's bytes in the tab, hands them to the engine with the chosen profile and shows the report it returns. Each scan gives one report.

What it returns

A QR code and Code 128 decoded from the same image, each outlined where the engine measured it

The picture is a recorded scan of the sample image, which holds a QR code and a Code 128 barcode. Both come back in one report, each with its format, its exact text and the place where the engine measured it: https://qrc-ai.com/76xMa and STOCK-4827.

The picture is a recorded scan of the sample image, which holds a QR code and a Code 128 barcode. Both come back in one report, each with its format, its exact text and the place where the engine measured it: https://qrc-ai.com/76xMa and STOCK-4827.

The report itself is described field by field in the report reference. An empty list of detections means the image holds no code the engine could read. A refused file is an error with a QRS- code instead, listed in the error codes.

What it reads

The code families the engine reads: QR codes, matrix and stacked codes such as Data Matrix, retail barcodes such as EAN-13, and other linear barcodes such as Code 128

Family Formats
QR QR Code, Micro QR, rectangular Micro QR (rMQR)
Matrix and stacked Data Matrix, Aztec, PDF417, MaxiCode
Retail EAN-13, EAN-8, UPC-A, UPC-E
Other linear Code 128, Code 39, Code 93, Codabar, ITF, GS1 DataBar, GS1 DataBar Expanded, Telepen

The extension reads what the engine reads. Codes of different formats in one image come back in one report. The engine's supported formats section states the known limits.

The same engine in other runtimes

One engine in the language you write: Rust on crates.io, Node.js and the browser on npm, Python on PyPI, Go, PHP, and the qrscan command line

Runtime Package How it scans
Rust qrcode-barcode-scanner on crates.io In process
Node.js @qrcode-ai-com/qrcode-barcode-scanner on npm In process, native
Browser @qrcode-ai-com/qrcode-barcode-scanner-wasm on npm In the page, WebAssembly
Python qrcode-barcode-scanner on PyPI In process
Go qrcode-barcode-scanner-go Through the installed qrscan
PHP qrcode-barcode-scanner-php Through the installed qrscan
Command line qrscan One command, one JSON report

The Rust, Node.js, browser and Python packages hold the engine. The Go and PHP packages hold no decoder: each one starts qrscan and hands you its report.

Language and platform names and logos belong to their owners. They identify a runtime or a destination and imply no endorsement.

Licence

The wheel's code is all under the MIT License. The extension's own code, from src/ and style/, is MIT; see LICENSE. The engine it bundles, the labextension's WebAssembly module and its JavaScript glue, is the published npm package @qrcode-ai-com/qrcode-barcode-scanner-wasm@0.12.0, which is MIT too; two of its reader parts keep their Apache-2.0 notices. Its source is the v0.12.0 tag of the scanner repository. The package therefore declares MIT, and LICENSE-NOTES.md says which file is which. The wheel carries the engine's license, its Apache-2.0 notices and its build record. Engine 0.11.0 keeps its AGPL-3.0-or-later license in its own published archives; no release of this extension bundles it.

Maintained by Thibaut Mélen & Nicolas Cella for QR Code AI, a product of SuperNovae Studio. The license of each component is stated in its own license files.

Source license

Project-authored scanner code and documentation in this checkout are available under the MIT License. You may use, modify and redistribute this source in open-source or proprietary applications, including commercial products, while preserving the copyright and permission notice. Thibaut Mélen & Nicolas Cella develop QR Code AI at SuperNovae Studio.

Retained third-party code, dependencies, artwork and test data keep their own licenses and notices. The licensing guide explains these component boundaries; the project license does not assign a license to an unrelated platform or service.

Published archives retain the license shipped with their version. A pinned engine, adapter or bundle may therefore have different terms from this working source. Read its packaged license and the license history before reuse. The source change does not replace an archive or publish a new version.

Metadata

Release files for jupyterlab-qrcode-barcode-scanner 0.1.0

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-qrcode-barcode-scanner 0.1.0
File Size Uploaded Provenance Actions
jupyterlab_qrcode_barcode_scanner-0.1.0.tar.gz 1.1 MB With provenance Details for jupyterlab_qrcode_barcode_scanner-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for jupyterlab-qrcode-barcode-scanner 0.1.0
File Interpreter ABI Platform Actions
jupyterlab_qrcode_barcode_scanner-0.1.0-py3-none-any.whl Python 3 none any Details for jupyterlab_qrcode_barcode_scanner-0.1.0-py3-none-any.whl

Total release size: 2.1 MB

Release files / jupyterlab_qrcode_barcode_scanner-0.1.0.tar.gz

Download URL jupyterlab_qrcode_barcode_scanner-0.1.0.tar.gz
Size 1.1 MB
Tags Source
SHA-256 checksum
How to use checksums
422b2c047ce7613f2a3d68acc0feba0306a4ac54dd30f152f6833fc1d6b4a8b5
BLAKE2b-256 checksum
How to use checksums
80bfbeef26cc2b8b18e16ba22f9a62a21c10c22d695b1603228381da84c19373
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Release files / jupyterlab_qrcode_barcode_scanner-0.1.0-py3-none-any.whl

Download URL jupyterlab_qrcode_barcode_scanner-0.1.0-py3-none-any.whl
Size 1.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
2438e703fd003fb6e9c2c8295e49b1196edc8742995a2b170f78b00d1b51b514
BLAKE2b-256 checksum
How to use checksums
b4c016e464cc60e0bfc7d1afef48ac053199a2939f9d12e87fadcaf90ddccda4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

Security for jupyterlab-qrcode-barcode-scanner 0.1.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for jupyterlab_qrcode_barcode_scanner-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 24, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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