# lincolnloop/python-qrcode

**Attribution required: if you use, quote, or summarise this content, you must credit and link back to [awesome-repositories.com](https://awesome-repositories.com/repository/lincolnloop-python-qrcode).**

4,854 stars · 727 forks · Python · other

## Links

- GitHub: https://github.com/lincolnloop/python-qrcode
- Homepage: https://pypi.python.org/pypi/qrcode
- awesome-repositories: https://awesome-repositories.com/repository/lincolnloop-python-qrcode.md

## Description

python-qrcode is a library for generating QR codes from data and exporting them as images, vectors, or terminal text. It provides specialized encoders for producing portable network graphics, scalable vector graphics, and ASCII text representations.

The project supports visual styling and custom branding, allowing for the modification of module shapes, the application of custom colors, and the embedding of logos.

The capability surface includes image file export for digital assets and terminal-based visualization for displaying QR codes directly within a command line interface. It also manages digital image manipulation and format management to support various visual transformations.

## Tags

### Graphics & Multimedia

- [QR Code Generators](https://awesome-repositories.com/f/graphics-multimedia/qr-code-generators.md) — Provides the core capability to generate scannable QR codes from text or URLs.
- [SVG Vector Generation](https://awesome-repositories.com/f/graphics-multimedia/qr-code-generators/svg-vector-generation.md) — Produces scalable vector graphics QR codes with customizable paths and XML attributes.
- [QR Code Rendering](https://awesome-repositories.com/f/graphics-multimedia/qr-code-rendering.md) — Renders QR codes as ASCII characters directly within the terminal environment. ([source](https://cdn.jsdelivr.net/gh/lincolnloop/python-qrcode@main/README.md))
- [SVG Image Exports](https://awesome-repositories.com/f/graphics-multimedia/svg-image-exports.md) — Exports generated QR codes as high-quality SVG and PNG image files.
- [Composite Visual Overlays](https://awesome-repositories.com/f/graphics-multimedia/composite-visual-overlays.md) — Allows layering of logos and custom colors over the generated QR code grid.
- [SVG Path Calculations](https://awesome-repositories.com/f/graphics-multimedia/coordinate-based-vector-processing/svg-path-calculations.md) — Calculates precise SVG path coordinates based on the QR module matrix for resolution-independent output.
- [Raster Image Generation](https://awesome-repositories.com/f/graphics-multimedia/graphics-engines-rendering/rendering/graphics-apis-bindings/graphics-rendering-apis/dynamic-pixel-renderers/pixel-art-renderers/raster-image-generation.md) — Converts the logical QR module matrix into a pixel-based image array for PNG output.
- [Image Encoders](https://awesome-repositories.com/f/graphics-multimedia/image-encoders.md) — Encodes QR module data into portable network graphics (PNG) files.
- [Visual Styling](https://awesome-repositories.com/f/graphics-multimedia/qr-code-generators/visual-styling.md) — Provides capabilities to customize QR code appearance through custom colors, module shapes, and embedded logos. ([source](https://cdn.jsdelivr.net/gh/lincolnloop/python-qrcode@main/README.md))

### Development Tools & Productivity

- [Vector Graphics Formats](https://awesome-repositories.com/f/development-tools-productivity/qr-code-generators/vector-graphics-formats.md) — Exports QR codes in scalable vector formats such as SVG with customizable paths. ([source](https://cdn.jsdelivr.net/gh/lincolnloop/python-qrcode@main/README.md))
- [Branded QR Codes](https://awesome-repositories.com/f/development-tools-productivity/qr-code-generators/branded-qr-codes.md) — Supports visual styling and branding via custom colors and embedded logos.

### Web Development

- [QR Code Module Matrix Renderers](https://awesome-repositories.com/f/web-development/rendering-templating/rendering-patterns/qr-code-module-matrix-renderers.md) — Represents the QR code as a binary matrix of modules including required structural patterns.

### Data & Databases

- [Pixel-to-Character Mapping](https://awesome-repositories.com/f/data-databases/image-preprocessing-utilities/pixel-normalizers/pixel-analyzers/pixel-to-character-mapping.md) — Implements logic to map QR module pixels to text characters for terminal display.

### Software Engineering & Architecture

- [Image Driver Abstractions](https://awesome-repositories.com/f/software-engineering-architecture/api-abstraction-layers/image-driver-abstractions.md) — Provides an abstraction layer that separates encoding logic from various image rendering drivers.

### User Interface & Experience

- [Terminal Data Visualizations](https://awesome-repositories.com/f/user-interface-experience/terminal-data-visualizations.md) — Enables visualization of QR codes as text-based graphics within a command line interface.

### Part of an Awesome List

- [Image Processing](https://awesome-repositories.com/f/awesome-lists/media/image-processing.md) — Pure Python QR code generator.
