0% found this document useful (0 votes)
11 views24 pages

SHARMISTHA1

Uploaded by

mandaladrija383
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
11 views24 pages

SHARMISTHA1

Uploaded by

mandaladrija383
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 24

LIBRARY MANAGEMENT SYSTEM

NAME: SHARMISTHA DAS


CLASS: XII (SCIENCE)
SEC: A
REG. NO.: B/2/23/15541/0076
SUB: COMPUTER SCIENCE
UNDER THE GUIDANCE OF SUMIT
BHATTACHARYA
This is to certify that the project report entitled “Library
Management System” is the work carried out by
“Sharmistha Das”, Reg. No.: B/2/23/15541/0076 ,
under the guidance of “Mr. Sumit Bhattacharya” during
the year 2022-2023 at“Asansol North Point School” in
partial fulfillment of Computer Science practical
examination and project workconducted by AISSCE.

Mr. Sumit Bhattacharya (Signature of External)

(Assistant Teacher of CS Dept.)

_ _

Mr. Rajiv Shaw

(Principal)
This is to certify that the project report entitled “Library
Management System” is done by me is an authentic work
carried out for the partial fulfillment of requirements for the
award of the degree of Higher Secondary under the guidance of
Mr. Sumit Bhattacharya. I also certify that I am aware of the
“AISSCE PROJECT & PROJECT REPORT STANDARD 2022-23”
issued by the CBSE and this project report is based on that
standard.
I do sincerely & solemnly declare that I have done this project
with best of knowledge & effort.

SHARMISTHA DAS
Reg. No.- B/2/23/15541/0076
Acknowledgement

I owe a great many thanks to a great many people who helped and supported me during the

developing of this project. I have always found myself energetic with proper co- operation
and co-ordination among us under proper guidance.

I would like to express my special thanks to our “Principal- Mr. Rajiv Shaw” who gave me
the golden opportunity to do this wonderful project on the topic “LIBRARY
MANAGEMENT SYSTEM” which also helped me in doing a lot of research and I came to
know so many new things, I am really thankful to him.

I would like to express my special gratitude and thanks to “Mr. Sumit Bhattacharya” who
provides me his guidance & encouragement, his frequent valuable advice & master
suggestion on every stage lead to a systematic approach in completing this project without
which this project work could not take its shape.

I would like to thanks my parents who helped us a lot in finalizing this project within the
limited time frame.
TABLE OF CONTENTS

1. INTRODUCTION
2. OBJECTIVES OF THE
PROJECT
3. SYSTEM DEVELOPMENT LIFE
CYCLE
4. SPECIFICATIONS OF
HARWARE AND SOFTWARE
5. CODING
6. OUTPUT
7. CONCLUSION
8. FUTURE SCOPE
9. BIBLIOGRAPHY
INTRODUCTION:
E-Library Management System is an application which refers to
library systems which are generally small or medium in size. It is
used by librarian to manage the library using a computerized
system where he/she can add new books, videos and Page
sources. Books and student maintenance modules are also
included in this system which would keep track of the students
using the library and also a detailed description about the
books a library contains. With this computerized system there
will be no loss of book record or member record which
generally happens when a non computerized system is used. All
these modules are able to help librarian to manage the library
with more convenience and in a more efficient way as
compared to library systems which are not computerized.
The project aims and objectives that will be achieved
after
completion of this project are discussed in this subchapter.
The aims and objectives are as follows:
1. Online book reading
2. A search column to search availability of books.
3. Facility to download required book
4. Video tutorial for students
5. An Admin login page where admin can add books, videos
or page source
6. Open link for Learning Websites
SYSTEM DEVELEPMENT LIFE CYCLE (SDLC)
The systems development life cycle (SDLC) is a conceptual model
used in project management that describes the stages involved in an
information system development project, from an initial feasibility
study through maintenance of the completed application. SDLC can
apply to technical and non-technical systems. In most use cases, a
system is an IT technology such as hardware and software. Project
and program managers typically take part in SDLC, along with
system and software engineers, development teams and end-users.

Every hardware or software system will go through a development


process which can be thought as an iterative process with multiple
steps. SDLC is used to give a rigid structure and framework to define
the phases and steps involved in the development of a system.

In general, an SDLC methodology follows these following steps:

1. Analysis: The existing system is evaluated. Deficiencies are


identified. This can be done by interviewing users of the system
and consulting with support personnel.

2. Plan and requirements: The new system requirements are


defined. In particular, the deficiencies in the existing system must
be addressed with specific proposals for improvement. Other
factors defined include needed features, functions and
capabilities.

3. Design: The proposed system is designed. Plans are laid out


concerning the physical construction, hardware, operating
systems, programming, communications and security issues.

4. Development: The new system is developed. The new


components and programs must be obtained and installed. Users
of the system must be trained in its use.
5. Testing: All aspects of performance must be tested. If necessary,
adjustments must be made at this stage. Tests performed by
quality assurance (QA) teams may include systems integration
and system testing.

6. Deployment: The system is incorporated in a production


environment. This can be done in various ways. The new system
can be phased in, according to application or location, and the old
system gradually replaced. In some cases, it may be more cost-
effective to shut down the old system and implement the new
system all at once.

7. Upkeep and maintenance: This step involves changing and


updating the system once it is in place. Hardware or software may
need to be upgraded, replaced or changed in some way to better
fit the needs of the end-users continuously. Users of the system
should be kept up-to-date concerning the latest modifications and
procedures
Advantages and disadvantages of SDLC

Benefits of abiding by a clearly defined SDLC model


include:
 Having a clear view of an entire project, workers involved,
estimated costs and timelines.

 Gives project managers a projected base cost of the project.

 Goals and standards are clearly defined.

 Developers can move back a step if something does not go as


expected

Disadvantages, however, can include:

 Due to assumptions made at the beginning of a project, if an


unexpected circumstance complicates the development of a
system, then it may stockpile into more complications down the
road. As an example, if newly installed hardware does not work
correctly, then it may increase the time a system is in
development, increasing the cost.

 Some methods are not flexible.

 It can be complicated to estimate the overall cost at the beginning


of a project.

 Testing at the end of development may slow down some


development teams.
SPECIFICATION OF
HARDWARE AND
SOFTWARE:

• HARDWARE –
• Hard Disk - 1TB
• Processor - Intel core i5-9400F @2.90GHx
• RAM - 8GB
• SOFTWARE –
• OS - Windows 10
• Front End – Python
• Back End - Mysql
CODING
(PYTHON)
def admin():
def addbook():
import mysql.connector
mydb=mysql.connector.connect(host="localhost",user="root",password="sharmistha0174",database="db")
mycursor=mydb.cursor()
a=input("insert ISBN no.")
b=input("insert book name")
c=input("insert Author name")
d=input("insert no. of copies")
sql="insert into books (ISBN_no,book_name,author_name,No_of_copies) values(%s,%s,%s,%s)"
val=(a,b,c,d)
mycursor.execute(sql,val)
mydb.commit()
mydb.close()
def deletebook():
import mysql.connector
mydb=mysql.connector.connect(host="localhost",user="root",password="sharmistha0174",database="db")
mycursor=mydb.cursor()
a=input("insert ISBN no. ")
sql="delete from books where ISBN_no=%s"
val=(a,)
mycursor.execute(sql,val)
mydb.commit()
mydb.close()
def issue():
import mysql.connector
mydb=mysql.connector.connect(host="localhost",user="root",password="sharmistha0174",database="db")
mycursor=mydb.cursor()
a=input("insert ISBN no. ")
b=input("insert issue date ")
c=input("insert user id ")
d=input("insert phone no. ")
sql="insert into books_issued(ISBN_no,issue_date,user_id,phone_no) values(%s,%s,%s,%s)"
val=(a,b,c,d)
mycursor.execute(sql,val)
sql1="select No_of_copies from books where ISBN_no=%s"
val1=(a,)
mycursor.execute(sql1,val1)
result=mycursor.fetchall()
print(result)
e=result[0][0]
f=int(a)
g=c+1
h=str(g)
val2=(g,a)
sql2="update books set No_of_copies=%s where ISBN_no=%s"
mycursor.execute(sql1,val1)
mydb.commit()
mydb.close()
def returnbook():
import mysql.connector
mydb=mysql.connector.connect(host="localhost",user="root",password="sharmistha0174",database="db")
mycursor=mydb.cursor()
a=input("insert ISBN_no")
sql="select No_of_copies from books where ISBN_no=%s"
val=(a,)
mycursor.execute(sql,val)
result=mycursor.fetchall()
print(result)
b=result[0][0]
c=int(a)
d=c+1
e=str(d)
val1=(e,a)
sql1="update books set No_of_copies=%s where ISBN_no=%s"
mycursor.execute(sql1,val1)
mydb.commit()
mydb.close()
def displaybook():
import mysql.connector
mydb=mysql.connector.connect(host="localhost",user="root",password="sharmistha0174",database="db")
mycursor=mydb.cursor()
sql="select * from books"
mycursor.execute(sql)
result=mycursor.fetchall()
print(result)
mydb.commit()
mydb.close()

while(True):
print("1. addbook")
print("2.deletebook")
print("3.issue book")
print("4.returnbook")
print("5.displaybook")
print("6.exit")
x=int(input("enter your choice"))
if(x==1):
addbook()
if(x==2):
deletebook()
if(x==3):
issue()
if(x==4):
returnbook()
if(x==5):
displaybook()
if(x==6):
break

def user():
def ISBN_no():
import mysql.connector
mydb=mysql.connector.connect(host="localhost",user="root",password="sharmistha0174",database="db")
mycursor=mydb.cursor()
a=input("insert ISBN_no")
sql="select * from books where ISBN_no like %s"
val=(a,)
mycursor.execute(sql,val)
result=mycursor.fetchall()
print("ISBN_no"," ","book_name"," ","author_name"," ","No_of_copies")
print(" "," "," "," "," "," "," ")
for i in result:
print(i[0]," ",i[1]," ",i[2]," ",i[3])
print(result)
mydb.commit()
mydb.close()
def author_name():
import mysql.connector
mydb=mysql.connector.connect(host="localhost",user="root",password="sharmistha0174",database="db")
mycursor=mydb.cursor()
a=input("insert author name")
x='%'+a+'%'
sql="select * from books where Author_name like %s"
val=(x,)
mycursor.execute(sql,val)
result=mycursor.fetchall()
print("ISBN_no"," ","book_name"," ","author_name"," ","No_of_copies")
print(" "," "," "," "," "," "," ")
for i in result:
print(i[0]," ",i[1]," ",i[2]," ",i[3])
print(result)
mydb.commit()
mydb.close()
def book_name():
import mysql.connector
mydb=mysql.connector.connect(host="localhost",user="root",password="sharmistha0174",database="db")
mycursor=mydb.cursor()
a=input("insert book name")
x='%'+a+'%'
sql="select * from books where book_name like %s"
val=(x,)
mycursor.execute(sql,val)
result=mycursor.fetchall()
print("ISBN_no"," ","book_name"," ","author_name"," ","No_of_copies")
print(" "," "," "," "," "," "," ")
for i in result:
print(i[0]," ",i[1]," ",i[2]," ",i[3])
print(result)
mydb.commit()
mydb.close()

while(True):
print("1. search by author name")
print("2. search by ISBN_no")
print("3.search by book name")
print("4.exit")
x=int(input("enter your choice"))
if(x==1):
author_name()
if(x==2):
ISBN_no()
if(x==3):
book_name()
if(x==4):
break

while(True):
print("1. admin")
print("2.user")
print("3.exit")
x=int(input("enter your choice"))
if(x==1):
admin()
if(x==2):
user()
if(x==3):
break
OUTPUT
(SCREENSHOT)
CONCLUSION:

• This website provides a computerized version of


library management system which will benefit the
students as well as the staff of the library. It makes
entire process online where student can search
books, staff can generate reports and do book
transactions. It also has a facility for student login
where student can login and can see status of
books issued as well request for book or give some
suggestions. It has a facility of teacher's login where
teachers can add lectures notes and also give
necessary suggestion to library and also add info
about workshops or events happening in our
collegeor nearby college in the online notice board.
FUTURE SCOPE:

• This project maybe further enhanced for


educational institute management system online
shopping management, hospital management,
hotels management, banking management
systemtourism management.
• In future we are going to add bar code scanning
and to digitally keep in track of what is available in
the library means catalog management.
 FOR PYTHON INSTALLATION
 https://www.python.org

 FOR MY SQL INSTALLATION


 https://dev.mysql.com/downloads/installer/

 REFERENCE BOOKS USED


 Sumita Arora
 NCERT Computer science book

You might also like