Skip to content

pytexas/qrcode-maker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

qrcode-maker

Code used to make our cool QR Codes. It uses the segno and qrcode-artistic libraries.

Usage

Requires uv.

  1. Update the target_link variable with the link you want the QR Code to point to
  2. Update the background_image variable with the image you want to be embedded in the QR Code
  3. Update the output_file variable with what you want the QR Code to be named
  4. Run the file directly with ./qrcode-maker.py. Thanks to PEP 723 inline metadata and the script's uv run shebang, you don't need to manually create a venv. uv will create create one on script invocation, resolve the dependencies, and execute the code
  5. The resulting QR Code appears in the same directory as the code

Notes

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.

About

Code to make our cool QR Codes

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages