Skip to content

Python libraries to create QR code

License

Notifications You must be signed in to change notification settings

0x007E/pyqrtool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Version: 0.0.1 License: GPL v3

Small Python QR-Image generator

This python script can be used with command line or as import from another script.

Parameter

For additional information call:

python ./pyqrtool.py -h
Short Expand Description
-h --help Help menu
-i --input QR-Payload
-o --output Output *.png file
-s --setup Configuration
-f --folder Output folder

CLI-Usage

# Without setup
python ./qrimage.py -f ./temp -i https://github.com/0x007e -o Test.png

# With setup
python ./qrimage.py -f ./temp -i https://github.com/0x007e -s ./qrimage.setup.json -o Test.png

# The QR-Code png image should be created in temp/Test.png

Python usage

qrimage: QRImage = QRImage("./temp")

# Call of setup is for standard configuration not necessary
qrimage.setup(1, qrerror.L, 20, 10)

qrimage.create("https://github.com/0x007e", filename="Test.png")

About

Python libraries to create QR code

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages