--- id: types-qrcode version: "8.2.0.20260518" license: Apache-2.0 license_treatment: permissive maintenance: active --- # types-qrcode — Typing stubs for qrcode License: permissive · Maintenance: active · Downloads: 532.3K/mo ## 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 above — verify before relying. Provides type stubs for the qrcode package, enabling static type checkers like mypy and pyright to validate code that uses qrcode. 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 pip install types-qrcode uv add types-qrcode poetry add types-qrcode ## Installing types-qrcode 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. 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() Requires Python 3.10 or later. 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_current - Install friction: low - Maintenance: active - Downloads: 532.3K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags type stubs qrcode, qrcode type hints, mypy qrcode annotations, pyright qrcode types, static type checking qrcode, qrcode typing support, type checking qr codes, type-stubs, static-analysis [View on SkillFed](https://skillfed.io/packages/types-qrcode) · [View on PyPI](https://pypi.org/project/types-qrcode/)