Code used to make our cool QR Codes. It uses the segno and qrcode-artistic
libraries.
Requires uv.
- Update the
target_linkvariable with the link you want the QR Code to point to - Update the
background_imagevariable with the image you want to be embedded in the QR Code - Update the
output_filevariable with what you want the QR Code to be named - Run the file directly with
./qrcode-maker.py. Thanks to PEP 723 inline metadata and the script'suv runshebang, you don't need to manually create a venv.uvwill create create one on script invocation, resolve the dependencies, and execute the code - The resulting QR Code appears in the same directory as the code
If your image has a transparent background you may get some distortion in the resulting QR Code. We were able to fix this by removing the background using an online image background remover.
