QR-Generator is a simple Python script that generates QR codes from user-provided text or URLs. It utilizes the qrcode
library to create QR codes quickly and efficiently.
- Generate QR codes for text or URLs.
- Customize QR code size, color, and error correction level.
- Save generated QR codes as PNG images for easy sharing and usage.
- Clone the repository:
bash git clone https://github.com/anurag87204/QR-Generator.git
- Install the required dependencies:
bash pip install -r requirements.txt
- Run the script:
bash qr_generator
-
Follow the on-screen prompts to enter the text or URL you want to encode into a QR code.
-
Customize QR code settings such as size, color, and error correction level as desired.
-
Once generated, the script will save the QR code as a PNG image in the current directory.
python
generate_qr_code("https://www.example.com")
generate_qr_code("Hello, world!", size=10, color="black", background="white", error_correction=qrcode.constants.ERROR_CORRECT_H)
This project is maintained by Anurag Rai and is licensed under the MIT License.
Feel free to contribute by submitting bug reports, feature requests, or pull requests.
This README.md provides an overview of the project, installation instructions, usage examples, and credits to the project maintainer. Adjustments can be made based on the specific features and details of the project.