Se2 Complete
Se2 Complete
BY
B.LIKHITHA 22C31A0521
B.NAGASRI 22C31A0522
B.VISHWA 22C31A0532
D.SAHASRA 22C31A0547
G.VENNELA 22C31A0557
G.PAVAN 22C31A0558
RISHIVARDHAN 22C31A0501
Mr.D.SUMAN
Assistant Professor
(AffiliatedtoJNTUHyderabadandApprovedbytheAICTE,NewDelhi)
BALAJI INSTITUTE OF TECHNOLOGY AND SCIENCE
AccreditedbyNBA(UG-CE,ECE,ME,CSEPrograms)&NAACA+Grade
(AffiliatedtoJNTUHyderabadandApprovedbytheAICTE,NewDelhi)
CERTIFICATE
This is to certify that B.NAGASRI of B.TechII–II Sem has satisfactorily completed the REAL
TIME Project entitled “Qr Code Generator”, in partial fulfillment of the requirements for the award of the degree of
bachelor of Technology in Computer Science and Engineering from Balaji Institute of Technology & Science during
academic year 2023-24.
Mr.D.SUMAN DR.B.KRISHNA
BITS,Narsampet-506331 BITS,Narsampet-506331
In recent years, Quick Response (QR) codes have become a ubiquitous tool for sharing
information efficiently and interactively. This mini project focuses on developing a Python-
based QR code generator that allows users to create QR codes effortlessly.
Leveraging the power of the qrcode and PIL libraries, this project provides a simple, yet
versatile, interface for generating QR codes that can encode various types of data, including
URLs, text, contact information, and more.
The primary objective of this project is to demonstrate the practical application of Python in
developing a utility tool that can be integrated into larger systems or used as a standalone
application
• User-Friendly Interface: A command-line interface that allows users to input data and
customize QR code properties such as size, border, and color.
• Data Encoding: Support for encoding different types of data into QR codes, making it
versatile for various use cases.
1 INTRODUCTION 1
PROJECT
LANGUAGE USED
2. UML DIAGRAMS(CLASS,USECASE,SEQUENTIAL)
3. DESIGN 6
4. IMPLEMENTATION 10
MODULES
CODE IMPLEMENTATION
5. TESTING 14
TEST CASES 14
TEST RESULTS 15
6. RESULTS
7. CONLUSION 17
1. INTRODUCTION
QR CODE GENERATOR:
A QR code maker or generator is a software that lets users create their own
static or dynamic QR codes.
With a QR code creator, users can choose what they want to share or store in
their QR code, whether a website link, social media link, or file.
This mini project aims to develop a Python-based QR code generator that can create
QR codes encoding various types of data.
The goal is to provide a practical tool that demonstrates the capabilities and
applications of QR codes while offering an opportunity to explore Python
programming and library usage.
INTRODUCTION TO PYTHON
Its high-level built in data structures, combined with dynamic typing and dynamic
binding, make it very attractive for Rapid Application Development, as well as for use
as a scripting or glue language to connect existing components together.
Python's simple, easy to learn syntax emphasizes readability and therefore reduces
the cost of program maintenance. Python supports modules and packages, which
encourages program modularity and code reuse.
The Python interpreter and the extensive standard library are available in source or
binary form without charge for all major platforms, and can be freely distributed.
UML DIAGRAMS:
INTRODUCTION:
• Class Diagram
• Use-Case Diagram
• Sequence Diagram
7
USE-CASE DIAGRAM:
8
CLASS DIAGRAM:
9
SEQUENCE DIAGRAM:
10
CODE IMPLEMENTATION :
import pyqrcode
import png
from pyqrcode import QRCode
# string represents the QR Code
S=”www.geeeksforgeeks.org”
url=pyqrcode.create(s)
url.avg(“code.svg”,scale=0)
url.png(“code.png”,scale=6)
11
Results:
12
Output:
13
Conclusion:
By the end of this mini project, users will not only have
a functional QR code generator but also a deeper
understanding of the underlying principles of QR code
technology.
14