/qr-tools

A collection of tools to read and generate QR-Codes.

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

qr-tools qr-tools

QR-Tools QR-Tools

With QR-Code Generator you can create your own QR-Codes easily and for free. it supports many types of data that QR-Codes can handle and you can also create micro qr-codes!


The program has been tested with Python3.9. It may not work with other python versions.


Scan and generate qr-codes easily

Install Required libraries

pip3 install pyzbar imutils opencv-python Pillow qrcode wireless PyQt5 segno

Generate qr

python3 qr_generator.py -t 'Some Text' [-l logo.png] [-logo_width 60] [-logo_height 60] [--micro] [--scale 10] [--qrversion 1] [--boxsize 10] [--border 4] [--background white] [--foreground black] [--help]

If the dimensions of the logo you put are too large, your QR-Code might not be readable by scanners!

Read qr from file

python3 qr_reader.py -i qr-code.png

Read qr (live)

python3 qr_reader_live.py

For Developers

To make your own build, just paste the following commands into a terminal.

#Before pasting the commands make sure that you have python3 and pip3 installed!
git clone https://github.com/coder12341/qr-tools.git #Download the source code
cd qr-tools
pip3 install -r requirements.txt #Install the required libraries
pip3 install pyinstaller
pyinstaller -F --icon icon.ico [the_name_of_the_program.py]

Windows amd64

QR Generator cli (for Windows_amd64)

QR Generator Graphical (for Windows_amd64_portable)

QR Generator Graphical (for Windows_amd64_installer)

Linux amd64

QR Generator cli (for Linux_amd64)

QR Generator Graphical (for Linux_amd64)

QR Generator Graphical (installer for Debian based distros amd64)

Raspberry Pi

QR Generator cli (for Raspberry_pi_armhf)

QR Generator Graphical (for Raspberry_pi_armhf)

QR Generator Graphical (installer for Raspberry_pi_armhf)

Notes:

  • Binaries are only available the QR-Code Generator app.

  • You should also have installed 'libnotify-bin' in order for the application to work properly on Linux. You can install it via your package manager.


Terminal installation(Linux only)

To install the CLI version of QR-Code Generator open a terminal and paste the following commands.

Raspberry Pi

wget https://raw.githubusercontent.com/coder12341/qr-tools/website/downloads/install_rpi.sh && chmod +x install_rpi.sh && sudo ./install_rpi.sh && rm install_rpi.sh && qr-generator -h

Linux (x64)

wget https://raw.githubusercontent.com/coder12341/qr-tools/website/downloads/install_linux.sh && chmod +x install_linux.sh && sudo ./install_linux.sh && rm install_linux.sh && qr-generator -h

Extra

Get it from the Snap Store


File hashes (SHA256)

You can find the file hashes in the releases section