types-qrcode
Typing stubs for qrcode
Decision gist · record as of 2026-08-14
Yes, if you use qrcode and want static type checking. Install it alongside qrcode to enable type checkers to validate your code. It has low friction, no vulnerabilities, and is actively maintained. Only necessary if you're already using a type checker like mypy or pyright.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low install friction with a single runtime dependency on Pillow.
- The package is actively maintained as part of the typeshed project, with recent releases and no known vulnerabilities.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in both open-source and proprietary projects with minimal restrictions.
last release 2026-05-18 (88 days) · last repo commit 2026-08-14 · 37 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 532,315 downloads/mo, #6,148 on PyPI
Alternatives
Verify before relying
pip install types-qrcode
import qrcode
qr = qrcode.QRCode()
qr.add_data('example')
qr.make()- Whether these stubs remain synchronized with qrcode versions beyond 8.2.*
- Coverage completeness for all public qrcode APIs
What it is and what it does
types-qrcode is a type stub package that provides type annotations for the qrcode library. Type stubs are metadata files that tell static type checkers like mypy and pyright what types are used in a library, allowing developers to catch type errors in their own code before runtime. This package is maintained as part of typeshed, the central repository of type information for Python packages.
The stubs are tested against mypy 2.1.0 and pyright 1.1.409 and aim to provide accurate annotations for qrcode version 8.2.*. Installing this package alongside qrcode enables your IDE and type checker to understand the qrcode API and flag type mismatches in your code.
Use it for
- Enable mypy or pyright to type-check code that imports and uses qrcode
- Get IDE autocomplete and type hints when working with qrcode in a type-aware editor
- Catch type errors in QR code generation workflows before running tests
- Integrate qrcode into a codebase with strict type-checking enabled in CI/CD
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use qrcode and want static type checking.
Install it alongside qrcode to enable type checkers to validate your code. It has low friction, no vulnerabilities, and is actively maintained. Only necessary if you're already using a type checker like mypy or pyright.
Install
types-qrcode on PyPI
Before you install
Low install friction with a single runtime dependency on Pillow. The package is actively maintained as part of the typeshed project, with recent releases and no known vulnerabilities.
Requires Python 3.10 or later.
License in practice
Licensed under Apache-2.0 (permissive), allowing use in both open-source and proprietary projects with minimal restrictions.
Quickstart
pip install types-qrcode
import qrcode
qr = qrcode.QRCode()
qr.add_data('example')
qr.make()
Verify before relying
- Whether these stubs remain synchronized with qrcode versions beyond 8.2.*
- Coverage completeness for all public qrcode APIs
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagePillow |
| Maintenance | Actively maintained 88 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 532,315 / month, #6,148 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3Typing :: Stubs Only |
Evidence: types_qrcode-8.2.0.20260518-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “type stubs qrcode”
- types-qrcodeProvides type stubs for the qrcode package, enabling static type…
- pyzbarDecodes one-dimensional barcodes and QR codes from images using the…
- qrcodeGenerates QR codes as images (PNG, SVG) or ASCII art from text or…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also types-polib · types-Markdown · types-pexpect · types-html5lib · types-ldap3 · types-cffi · types-channels · types-protobuf · types-WTForms · types-zxcvbn