--- id: pyqrcode version: "1.2.1" license: BSD license_treatment: permissive maintenance: dormant --- # PyQRCode — A QR code generator written purely in Python with SVG, EPS, PNG and terminal output. License: permissive · Maintenance: dormant · Downloads: 636.6K/mo ## What it is and what it does PyQRCode is a pure-Python QR code generator that encodes data into QR codes and renders them in multiple formats: SVG, EPS, PNG (with optional pypng), and plain text for terminal display. It aims to follow the QR code standard closely and exposes all encoding properties for manual control, though most simple use cases require only two lines of code. The package has no runtime dependencies and works with Python 2.6, 2.7, and 3.x. It is used for generating QR codes programmatically without requiring PIL or other image libraries for SVG and text output. The long gap since its last release (2016) and dormant maintenance status mean it may not track the latest Python ecosystem changes, though the repository remains accessible and the core QR encoding algorithm is stable. Use it for: - Generate QR codes for URLs or contact information and export them as SVG for web embedding. - Create QR codes in terminal applications for display in Linux terminal emulators without external image rendering. - Batch-generate QR codes with custom error correction levels and versions for inventory or tracking systems. - Embed QR code generation in legacy Python 2 applications where modern alternatives may not be compatible. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. PyQRCode generates QR codes in pure Python and outputs them as SVG, EPS, PNG (with optional pypng), or terminal text, with full control over encoding properties. Yes, with conditions. PyQRCode is worth installing if you need simple QR code generation without external image library dependencies and can tolerate dormant maintenance. The pure-Python implementation and zero runtime dependencies make it lightweight and portable. However, verify compatibility with your Python version before adopting, and consider more actively maintained alternatives if you require PNG output or ongoing feature development. ## Install pip install pyqrcode uv add pyqrcode poetry add pyqrcode ## Installing PyQRCode Before you install: Installation friction is high: the package has not been updated since 2016-06-20 and is marked dormant, though the repository remains active with 427 stars and a recent commit in 2024-04-15. No runtime dependencies simplify installation, but the long gap between releases raises questions about maintenance. License in practice: BSD license (permissive) places no significant restrictions on use, modification, or redistribution in commercial or private projects. Quickstart: pip install pyqrcode import pyqrcode url = pyqrcode.create('http://example.com') url.svg('output.svg', scale=8) Optional: install pypng to render PNG output; otherwise SVG, EPS, and terminal output work without additional dependencies. Verify before relying: - Whether the package works reliably with modern Python versions (3.9+) despite no recent releases. - Whether PNG rendering via pypng is actively maintained and compatible with current pypng versions. - Current state of the repository and whether dormancy indicates abandonment or stable maintenance. ## Package facts - License: BSD (permissive) - Python support: unspecified - Install friction: high - Maintenance: dormant - Downloads: 636.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags qr code generator python, generate qr codes svg png, qr code library pure python, create qr codes terminal output, qr code encoder python, svg qr code generator, qr-code-generation, pure-python, svg-output [View on SkillFed](https://skillfed.io/packages/pyqrcode) · [View on PyPI](https://pypi.org/project/pyqrcode/)