--- id: segno version: "1.6.6" license: unclear license_treatment: permissive maintenance: active --- # segno — QR Code and Micro QR Code generator for Python License: permissive · Maintenance: active · Downloads: 3.2M/mo ## What it is and what it does Segno is a pure-Python QR code and Micro QR code generator that implements the ISO/IEC 18004:2015(E) standard. It encodes data into QR codes with no external compiled dependencies, relying only on importlib-metadata. The library supports both standard QR codes and the smaller Micro QR variant, automatically choosing the minimal version needed or allowing explicit control via factory functions like make_qr() and make_micro(). The package outputs to many formats—SVG, PNG, PDF, EPS, PAM, PBM, PPM, LaTeX (PGF/TikZ), XBM, and XPM—all without requiring external libraries. It includes high-level functions for encoding contact data (vCard, MeCard), EPC QR codes, and WiFi configurations, plus a command-line interface for quick generation. Structured Append mode allows splitting large messages across multiple QR codes, and Hanzi mode supports Chinese character encoding. Use it for: - Generate QR codes for URLs, contact information, or WiFi credentials in web applications or scripts - Create Micro QR codes for space-constrained applications like product labels or small displays - Export QR codes to multiple formats (PNG, SVG, PDF) for printing, web embedding, or document inclusion - Encode structured data like vCard contact information or EPC payment codes into scannable QR codes - Split large messages across multiple QR codes using Structured Append mode for resilience or distribution ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Generates QR codes and Micro QR codes conforming to ISO/IEC 18004:2015(E), with output to multiple formats including SVG, PNG, PDF, and EPS without external dependencies. Yes. Segno is a stable, actively maintained library with no vulnerabilities, low install friction, and a permissive license. It is well-suited for any Python project needing QR code generation without external compiled dependencies. The broad format support and standards compliance make it a practical choice for production use. ## Install pip install segno uv add segno poetry add segno ## Installing segno Before you install: Low friction: pure Python with only importlib-metadata as a runtime dependency. Active maintenance with a recent commit on 2026-07-23 and no reported vulnerabilities. License in practice: Permissive license (BSD) allows commercial and private use with minimal restrictions. Quickstart: pip install segno import segno qrcode = segno.make('Yellow Submarine') qrcode.save('yellow-submarine.png') Verify before relying: - Whether the package's claimed 98% test coverage and ISO/IEC 18004:2015(E) conformance have been independently validated - Performance comparison claims against other pure-Python QR encoders and whether they remain current ## Package facts - License: not declared (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 3.2M/month (top 5,000 on PyPI) - Known vulnerabilities: none known ## Tags qr code generator python, micro qr code encoder, iso 18004 qr code, qr code to svg png pdf, pure python qr code, barcode matrix 2d, structured append qr codes, qr-code, barcode, iso-18004 [View on SkillFed](https://skillfed.io/packages/segno) · [View on PyPI](https://pypi.org/project/segno/)