ZXing VS python-qrcode

Compare ZXing vs python-qrcode and see what are their differences.

ZXing

ZXing ("Zebra Crossing") barcode scanning library for Java, Android (by zxing)

python-qrcode

Python QR Code image generator (by lincolnloop)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
ZXing python-qrcode
42 9
32,191 4,141
0.5% 1.5%
8.6 0.0
10 days ago 11 days ago
Java Python
Apache License 2.0 GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

ZXing

Posts with mentions or reviews of ZXing. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-08.

python-qrcode

Posts with mentions or reviews of python-qrcode. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-03.
  • Creating secure QR code?
    2 projects | /r/privacy | 3 May 2023
    windows I have no idea. I doubt there is anything eqvt. If you're comfortable with the command line you can see if either https://github.com/mnooner256/pyqrcode or https://github.com/lincolnloop/python-qrcode -- both python programs -- can be installed
  • Generate a QR Code with Python
    2 projects | dev.to | 22 Sep 2022
    Visit documentation for more information about the parameters in qrcode.QRCode(...).
  • How do I generate qr code from a database.
    1 project | /r/learnprogramming | 3 Aug 2022
    Python should be fine - you can most likely use https://github.com/lincolnloop/python-qrcode as a good starting point to create QR codes.
  • QR Code Generation in Python with qrcode
    1 project | /r/Python | 8 Jul 2022
    I've made a short video on QR Code generation in Python with the library qrcode for beginners:
  • WiFi qr-code generator in bash !
    2 projects | /r/bash | 17 May 2022
    Anyway, I much prefer python-qrcode. It can output QR codes in ascii directly in the terminal and/or generate QR images.
  • How to decode a QR-code image in (preferably pure) Python?
    4 projects | /r/codehunter | 9 Apr 2022
    import sys, qrcoded = qrcode.Decoder()if d.decode('out.png'): print 'result: ' + d.resultelse: print 'error: ' + d.error So I simply installed it using sudo pip install pyqrcode. The thing I find strange about the example code above however, is that it only imports qrcode (and not pyqrcode though) Since I think qrcode refers to this library which can only generate qr-code images it kind of confused me. So I tried the code above with both pyqrcode and qrcode, but both fail at the second line saying AttributeError: 'module' object has no attribute 'Decoder'. Furthermore, the website refers to Ubuntu 8.10 (which came out more than 6 years ago) and I can't find a public (git or other) repository of it to check the latest commit. So I moved on to the next library:
  • Acortar URL + Código QR, en Python
    2 projects | dev.to | 20 Apr 2021
  • How To Make QR Code in 2 minutes [with python code]
    1 project | /r/Python | 4 Apr 2021
    It really bugs me when people post self promoting how-to guides, it would have been more useful to just post a link to https://github.com/lincolnloop/python-qrcode and say look: did you know there's a QR code library for Python? But that wouldn't drive clicks to your channel.
  • Quickly fetch your WiFi password and if needed, generate a QR code of your WiFi to allow phones to easily connect
    5 projects | /r/linux | 27 Jan 2021
    The QR code is displayed using the qrcode library for Python. You can check it out here: https://github.com/lincolnloop/python-qrcode

What are some alternatives?

When comparing ZXing and python-qrcode you can also consider the following projects:

ZBar - Clone of the mercurial repository http://zbar.hg.sourceforge.net:8000/hgroot/zbar/zbar

scikit-image - Image processing in Python

mlkit - A collection of sample apps to demonstrate how to use Google's ML Kit APIs on Android and iOS

pillow - Python Imaging Library (Fork)

android-ocr

pyBarcode

C++ Format - A modern formatting library

wand - The ctypes-based simple ImageMagick binding for Python

Tess4J - Java JNA wrapper for Tesseract OCR API

Quads - Computer art based on quadtrees.

Code Scanner - Code scanner library for Android, based on ZXing

pycairo - Python bindings for cairo