segno
QR Code and Micro QR Code generator for Python
Decision gist · record as of 2026-08-14
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.AI-flagged interpretation of the facts on this page — verify before relying
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 · maintenance · safety
permissive license (permissive) — Permissive license (BSD) allows commercial and private use with minimal restrictions.
last release 2025-03-12 (520 days) · last repo commit 2026-07-23 · 795 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 3,234,809 downloads/mo, #2,689 on PyPI
Alternatives
Verify before relying
pip install segno
import segno
qrcode = segno.make('Yellow Submarine')
qrcode.save('yellow-submarine.png')- 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
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 on this page. Verify before relying on it.
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
segno on PyPI
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 | permissive license permissive |
| Python support | Supports the current Python release >=3.5 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageimportlib-metadata |
| Maintenance | Actively maintained 520 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 3,234,809 / month, #2,689 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyTopic :: Multimedia :: GraphicsTopic :: PrintingTopic :: Software Development :: Libraries :: Python ModulesTopic :: Utilities |
Evidence: segno-1.6.6-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 › “micro qr code encoder”
- segnoGenerates QR codes and Micro QR codes conforming to ISO/IEC…
- PyQRCodePyQRCode generates QR codes in pure Python and outputs them as SVG,…
- pyStrichpyStrich generates 1D and 2D barcodes (Code 39, Code 128, EAN-13,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also django-qr-code · PyQRCode · pyStrich · qrcode · pdf417gen · CairoSVG · treepoem · ppf-datamatrix · pyzxing · barcodenumber