Giter Site home page Giter Site logo

shivam-dave / qr_code_generator Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 13 KB

Generate QR codes with ease using this Python application. Choose to add common prefixes and postfixes automatically or input your custom string for QR code generation. Built with Tkinter for a simple and intuitive user interface.

License: MIT License

Python 100.00%

qr_code_generator's Introduction

QR Code Generator

This Python application generates QR codes based on user input strings. It offers options to add common prefixes and postfixes to the input string or generate the QR code directly from the input. The generated QR code is displayed in a graphical user interface using Tkinter.

Description

The QR Code Generator application allows users to create QR codes for any string input. It provides two options for generating QR codes:

  • With assumptions of common prefixes and postfixes (e.g., http://, www., .com).
  • Without any assumptions, allowing custom input handling.

The application uses the pyqrcode library to generate QR codes and tkinter for the graphical user interface. It includes error handling to ensure valid input and displays the generated QR code with a message confirming its creation.

Features

  • Two modes of generating QR codes: with and without assumptions.
  • User-friendly interface using Tkinter with input validation.
  • Displays the generated QR code and status messages.

Usage

  1. Enter any string into the input field.
  2. Click on "Generate QR Code (with Prefix & Postfix)" to create a QR code with assumptions.
  3. Alternatively, click on "Generate QR Code" for a QR code without assumptions.
  4. The generated QR code and a success message will be displayed.

Requirements

  • Python 3.x
  • tkinter
  • pyqrcode

Installation

Clone the repository and install dependencies using pip:

git clone https://github.com/yourusername/qr-code-generator.git
cd qr-code-generator
pip install -r requirements.txt

Customization

Feel free to customize the knowledge base and add more foods or nutrients based on your needs. The knowledge base is defined in the script as a dictionary, which can be easily modified.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Contact

For any questions or suggestions, please contact [email protected] .

qr_code_generator's People

Contributors

shivam-dave avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.