Skip to content

SohanHaque/Python-qr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

QR Code Generator

This is a Python script that generates QR codes with a graphical user interface (GUI) using PyQt5. With this application, you can easily generate QR codes for various purposes such as sharing URLs, text messages, contact information, and more.

Features

  • Generate QR codes with custom data, box size, and border settings.
  • Choose fill and background colors for the QR code.
  • Save the generated QR code as a PNG image file.

Requirements

  • Python 3.x
  • PyQt5
  • qrcode

Installation

  1. Make sure you have Python 3.x installed on your system. Here is the link from the official Python website: Python Downloads

  2. Install the required dependencies by running the following command:

    pip install PyQt5 qrcode
    

Usage

  1. Clone or download the repository to your local machine.

  2. Open a terminal or command prompt and go to the project directory.

  3. Run the following command to start the application:

    python qr_code_generator.py
    
  4. The QR Code Generator GUI window will appear.

  5. Enter the data you want to turn into QR code in the "Data" field.

  6. Optionally, adjust the box size and border parameters.

  7. Click the "Fill Color" button to select a custom color for the QR code modules (the default is black).

  8. Click the "Background Color" button to choose a custom color for the QR code background (the default is white).

  9. Click the "Generate QR Code" button.

  10. A file dialog will open, allowing you to choose the location and name for the generated QR code image file. Select a location and click "Save".

  11. The QR code image will be generated and saved as a PNG file.

Screenshots

UI Qr Code
1 2

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request if you have any suggestions or feature requests or bug fix.

License

This project is licensed under the MIT License.

Credits

The QR Code Generator script was developed by Md Sohanul Haque.

About

a full python qr code generator app.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages