0% found this document useful (0 votes)
40 views15 pages

Library Mangement Report

Uploaded by

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

Library Mangement Report

Uploaded by

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

Project Report

On

“ Library Management System”

Presented By

Mr. Aditya Manpure


Mr. Ajinkya Vairal

Guided By

Prof. K. B. Bijwe

Department of Computer Science & Engineering

P. R. Pote Patil College of Engineering & Management, Amravati

Amravati-444602

2023-2024
Library Management System

Certificate

This is to certify that

Mr. Aditya Manapure


Mr. Ajinkya Vairal

Of Second Year B.E. (CSE) has successfully completed the Project titled

“Library Management System ”

And submitted this Project for the subject C-Skill Lab (3KS09) in II year Computer
Science & Engineering during the academic year 2023-24

Prof. K. B. Bijwe Dr. V. B. Kute

Subject In charge HOD, CSE

Department of Computer Science & Engineering

P. R. Pote Patil College of Engineering & Management, Amravati

Amravati-444602

2023 – 2024

2
Contents
Chapter 1. Introduction................................................................................................................1
1.1 Current Scenario................................................................................................................1
1.2 Importance of a Library Management System:..................................................................1
1.3 Need for a User-Friendly Library Management System....................................................1
1.4 Aim of the Project..............................................................................................................1
Chapter 2: System Design............................................................................................................2
2.1 Description of the System..................................................................................................2
2.2 Flow of the System.............................................................................................................2
2.3 System Design....................................................................................................................3
Chapter 3: System Implementation..............................................................................................4
3.1 Code...................................................................................................................................4
3.2 Output Snapshots...............................................................................................................8
Chapter 4. Conclusion................................................................................................................11
References..................................................................................................................................12
Library Management System

Chapter 1. Introduction

1.1 Current Scenario:

In today's digital world, libraries are facing a number of challenges, including declining
membership, budget cuts, and the increasing popularity of e-books. However, libraries
still play an important role in society, providing access to information and resources for
people of all ages and backgrounds.

1.2 Importance of a Library Management System:

A library management system is essential for any library that wants to operate
efficiently and effectively. A good library management system will help libraries to:

 Keep track of their collection


 Manage circulation and lending
 Generate reports
 Provide access to online resources

1.3 Need for a User-Friendly Library Management System:

Many library management systems are complex and difficult to use. This can be a
barrier for both librarians and library patrons. A user-friendly library management
system is essential for any library that wants to provide its users with the best possible
experience.

1.4 Aim of the Project:

The aim of this project is to develop a user-friendly library management system in


Python. The system will allow users to add, remove, issue, and return books. It will also
allow users to list all books in the library, as well as all issued books.

PRPCEM, Amravati\\B. E. (CSE) II year\\ CSkill Lab - I\\ 2023-24 Page 1


Library Management System

Chapter 2: System Design

2.1 Description of the System

The current system is a manual system. This means that all library operations are
performed manually by librarians. This can be time-consuming and inefficient.

The following are some of the drawbacks of the current system:

 It is difficult to keep track of the library's collection, as all book records are
stored in a ledger.
 It is difficult to manage circulation and lending, as librarians have to manually
check out and check in books.
 It is difficult to generate reports, as librarians have to manually compile data
from the ledger.
 It is difficult to provide access to online resources, as the library does not have a
computerized system.

2.2 Flow of the System

The following is a high-level overview of the flow of the current system:

1. A new book is added to the library.


2. The librarian manually enters the book's details into a ledger.
3. A member borrows a book.
4. The librarian manually checks out the book and records the member's name and
due date.
5. A member returns a book.
6. The librarian manually checks in the book and updates the ledger.

PRPCEM, Amravati\\B. E. (CSE) II year\\ CSkill Lab - I\\ 2023-24 Page 2


Library Management System

2.3 System Design

The proposed system is a computerized system. This means that all library operations
will be performed using a computer. The system will be designed to be user-friendly
and easy to use.

The following are some of the key features of the proposed system:

 It will allow users to add, remove, issue, and return books.


 It will allow users to list all books in the library, as well as all issued books.
 It will allow users to generate reports on book usage, fines, etc.
 It will provide access to online resources, such as e-books and journal articles.

PRPCEM, Amravati\\B. E. (CSE) II year\\ CSkill Lab - I\\ 2023-24 Page 3


Library Management System

Chapter 3: System Implementation


3.1 Code:

import sys
class Book:
def __init__(self, title, author, genre, publication_date):
self.title = title
self.author = author
self.genre = genre
self.publication_date = publication_date
self.is_issued = False

class Library:
def __init__(self):
self.books = []

def add_book(self, book):


self.books.append(book)

def remove_book(self, book_title):


for book in self.books:
if book.title == book_title:
self.books.remove(book)
break

def issue_book(self, book_title, member_name):


for book in self.books:
if book.title == book_title and not book.is_issued:
book.is_issued = True
book.member_name = member_name

PRPCEM, Amravati\\B. E. (CSE) II year\\ CSkill Lab - I\\ 2023-24 Page 4


Library Management System

break

def return_book(self, book_title):


for book in self.books:
if book.title == book_title and book.is_issued:
book.is_issued = False
book.member_name = None
break

def get_all_books(self):
return self.books

def get_issued_books(self):
issued_books = []
for book in self.books:
if book.is_issued:
issued_books.append(book)
return issued_books

def main():
library = Library()

# Add some books to the library


book1 = Book("The Alchemist", "Paulo Coelho", "Fiction", "1988")
book2 = Book("The Lord of the Rings", "J.R.R. Tolkien", "Fantasy", "1954")
book3 = Book("Harry Potter", "J. K. Rowling", "Fantasy", "1813")

library.add_book(book1)
library.add_book(book2)
library.add_book(book3)

PRPCEM, Amravati\\B. E. (CSE) II year\\ CSkill Lab - I\\ 2023-24 Page 5


Library Management System

# Show the main menu


while True:
print("Welcome to the Library Management System!")
print("1. Add book")
print("2. Remove book")
print("3. Issue book")
print("4. Return book")
print("5. List all books")
print("6. List all issued books")
print("7. Exit")

choice = input("Enter your choice: ")

if choice == "1":
# Add a new book
title = input("Enter the book title: ")
author = input("Enter the book author: ")
genre = input("Enter the book genre: ")
publication_date = input("Enter the book publication date: ")

book = Book(title, author, genre, publication_date)


library.add_book(book)

elif choice == "2":


# Remove a book
book_title = input("Enter the book title to remove: ")

library.remove_book(book_title)

elif choice == "3":


# Issue a book

PRPCEM, Amravati\\B. E. (CSE) II year\\ CSkill Lab - I\\ 2023-24 Page 6


Library Management System

book_title = input("Enter the book title to issue: ")


member_name = input("Enter the member name: ")

library.issue_book(book_title, member_name)

elif choice == "4":


# Return a book
book_title = input("Enter the book title to return: ")

library.return_book(book_title)

elif choice == "5":


# List all books
all_books = library.get_all_books()

for book in all_books:


print(book.title)

elif choice == "6":


# List all issued books
issued_books = library.get_issued_books()

for book in issued_books:


print(book.title)

elif choice == "7":


# Exit
sys.exit()
else:
print("Invalid choice!")
main()

PRPCEM, Amravati\\B. E. (CSE) II year\\ CSkill Lab - I\\ 2023-24 Page 7


Library Management System

3.2 Output Snapshots:

Main Menu:

This is the main menu of the library management system. It allows users to perform
various library operations, such as adding books, removing books, issuing books,
returning books, listing all books, and listing all issued books.

Add Book:

This output snapshot shows how to add a new book to the library system. The user
simply enters the book title, author, genre, and publication date. The system then adds
the book to the database.

PRPCEM, Amravati\\B. E. (CSE) II year\\ CSkill Lab - I\\ 2023-24 Page 8


Library Management System

Remove Book:

This output snapshot shows how to remove a book from the library system. The user
simply enters the book title. The system then removes the book from the database.

Issue Book:

This output snapshot shows how to issue a book to a member. The user enters the book
title and the member name. The system then checks out the book to the member and
updates the database accordingly.

Return Book:

This output snapshot shows how to return a book from a member. The user enters the
book title. The system then checks in the book and updates the database accordingly.

PRPCEM, Amravati\\B. E. (CSE) II year\\ CSkill Lab - I\\ 2023-24 Page 9


Library Management System

List All Books:

This output snapshot shows how to list all books in the library system. The system
simply retrieves all books from the database and displays them in a table.

List All Issued Books:

This output snapshot shows how to list all issued books in the library system. The
system simply retrieves all issued books from the database and displays them in a table.

PRPCEM, Amravati\\B. E. (CSE) II year\\ CSkill Lab - I\\ 2023-24 Page 10


Library Management System

Chapter 4. Conclusion

The library management system developed in this project is a user-friendly and efficient
system that can help libraries of all sizes to improve their operations. The system is easy
to use and can be customized to meet the needs of any library.

The system is implemented using a programming language and a database. The


programming language is used to create the user interface and the database is used to
store data about books, members, and loans.

The system allows users to perform a variety of library operations, such as adding
books, removing books, issuing books, returning books, listing all books, and listing all
issued books.

The system can be further enhanced by adding new features, such as support for
multiple users, different types of library members and books, reports, and email
notifications.

Overall, the library management system developed in this project is a valuable tool for
libraries to manage their collections and provide better services to their patrons.

PRPCEM, Amravati\\B. E. (CSE) II year\\ CSkill Lab - I\\ 2023-24 Page 11


Library Management System

References

 Python Tutorial: https://www.python.org/doc/


 https://bard.google.com
 https://stackoverflow.com/

PRPCEM, Amravati\\B. E. (CSE) II year\\ CSkill Lab - I\\ 2023-24 Page 12

You might also like