This python based project allows users to create their own QR codes of their links, texts and, more.
-
Python 3.x
-
pyqrcodeLibrary -
pypngLibrary -
Google Colab Platform
-
Select the file: π
Go to ShivuXD/QR-Code-Generator and, click on the " QR - Code Generator.ipynb " file. Open it in your Google Colab.
-
Run the Libraries:
Execute all the libaries, cell-by-cell.
-
Upload your information:
When all libraries are imported and, executed. You shall upload your links, texts, etc to generate it's QR Code.
-
Download the QR - Code:
The following generated QR - Code will be installed in your files folder in Google Colab in .png file.
This script uses
pyqrcodeand,pypngto run and, give user the generated QR - Code.
pyqrcode Library is used here to generate QR - Codes and, QR Code related functions.
pypng Library is used here to generate such QR - Codes in forms of images ( .png ) for user to store and, use it conveniently.
This code generates a QR code from a user-provided link. It first installs the required libraries (pyqrcode and, pypng), then asks the user to enter a URL or, any text. The link is then converted into a QR code using pyqrcode.create(), and the QR code is saved as a PNG image named QR.png in the files of the user's platform.
The QR Code can then be installed and, utilized as per user's purposes.
I've also designed a real-time QR Generator website with the help of v0.dev, where users can customize their QR Codes as per their preferences for their utilization. The website is free for all and, requires no sign-up.
The website is live at -> Here