0% found this document useful (0 votes)
121 views

CERTIFICATES (PDF - Io)

The document outlines the phases of a library management system project using the system development life cycle (SDLC) methodology. It includes phases for initiation, concept development, planning, requirements analysis, development, integration and testing, and implementation. The objectives are to automate library processes to improve efficiency and reduce human errors. Hardware, software, and technical requirements are also specified.

Uploaded by

cytrf
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)
121 views

CERTIFICATES (PDF - Io)

The document outlines the phases of a library management system project using the system development life cycle (SDLC) methodology. It includes phases for initiation, concept development, planning, requirements analysis, development, integration and testing, and implementation. The objectives are to automate library processes to improve efficiency and reduce human errors. Hardware, software, and technical requirements are also specified.

Uploaded by

cytrf
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/ 33

INDEX

DESCRIPTION PAGE NO

01 INTRODUCTION 02

02 OBJECTIVES OF THE PROJECT 03

03 HARDWARE AND SOFTWARE REQUIREMENTS 04

04 PROPOSED SYSTEM 05

05 SYSTEM DEVELOPMENT LIFE CYCLE (SDLC) 06

PHASES OF SYSTEM DEVELOPMENT LIFE


06 07
CYCLE

07 SOURCE CODE 17

08 OUTPUT 24

09 BIBLIOGRAPHY 32

1
∗ INTRODUCTION

The library management system is basically a database based project

done with help of python language. This project is very useful for the

librarians to keep a count on what project they have and how much they

sold or issued books. This project is multifield project, so that it can be

modified for various purposes.

2
∗ OBJECTIVES OF THE PROJECT
The objective of this project is to let the students apply the programming

knowledge into a real- world situation/problem and exposed the students how

programming skills helps in developing a good software.

 Write programs utilizing modern software tools.

 Apply object oriented programming principles effectively when

developing small to medium sized projects.

 Write effective procedural code to solve small to medium sized

problems.

 Students will demonstrate a breadth of knowledge in informatics practices

, as exemplified in the areas of systems, theory and software development.

 Students will demonstrate ability to conduct a research or applied

Informatics Practices project, requiring writing and presentation skills

which exemplify scholarly style in informatics practices.

3
∗ HARDWARE REQUIREMENTS:
OPERATING SYSTEM:- WINDOWS 7 AND ABOVE
PROCESSOR:- INTEL CORE DUAL
HARD DISK:- 1GB
RAM:- 512 MB

∗ SOFTWARE REQUIREMENTS:

FRONT END: - PYTHON


BACK END: - CSV FILE (EXCEL)
SUPPORTING TOOL: - MS WORD

4
∗ PROPOSED SYSTEM
Today one cannot afford to rely on the fallible human beings of be really
wants to stand against today’s merciless competition where not to wise saying “to
err is human” no longer valid, it’s outdated to rationalize your mistake. So, to
keep pace with time, to bring about the best result without malfunctioning and
greater efficiency so to replace the unending heaps of flies with a much
sophisticated hard disk of the computer.

One has to use the data management software. Software has been an ascent
in atomization various organisations. Many software products working are now
in markets, which have helped in making the organizations work easier and
efficiently. Data management initially had to maintain a lot of ledgers and a lot
of paper work has to be done but now software product on this organization has
made their work faster and easier. Now only this software has to be loaded on
the computer and work can be done.

This prevents a lot of time and money. The work becomes fully automated
and any information regarding the organization can be obtained by clicking the
button. Moreover, now it’s an age of computers of and automating such an
organization gives the better look.

5
∗ SYSTEM DEVELOPMENT LIFE CYCLE (SDLC)

The systems development life cycle is a project management technique that divides
complex projects into smaller, more easily managed segments or phases. Segmenting
projects allows managers to verify the successful completion of project phases before
allocating resources to subsequent phases.

Software development projects typically include initiation, planning, design,


development, testing, implementation, and maintenance phases. However, the
phases may be divided differently depending on the organization involved.

For example, initial project activities might be designated as request,


requirements-definition, and planning phases, or initiation, concept-development,
and planning phases. End users of the system under development should be
involved in reviewing the output of each phase to ensure the system is being built
to deliver the needed functionality.

6
∗ PHASES OF SYSTEM DEVELOPMENT LIFE CYCLE

 INITIATION PHASE
The Initiation Phase begins when a business sponsor identifies a need or an
opportunity.

The purpose of the Initiation Phase is to:

 Identify and validate an opportunity to improve business


accomplishments of the organization or a deficiency related to a
business need.

 Recommend the exploration of alternative concepts and methods to


satisfy the need including questioning the need for technology, i.e., will
a change in the business process offer a solution?

7
 SYSTEM CONCEPT DEVELOPMENT PHASE

The System Concept Development Phase begins after a business need or


opportunity is validated by the Agency/Organization Program Leadership
and the Agency/Organization CIO.

The purpose of the System Concept Development Phase is to:

 Determine the feasibility and appropriateness of the alternatives.


 Identify system interfaces.
 Identify basic functional and data requirements to satisfy the business need.
 Establish system boundaries; identify goals, objectives, critical success factors,
and performance measures.
 Evaluate costs and benefits of alternative approaches to satisfy the basic
functional requirements
 Assess project risks
 Identify and initiate risk mitigation actions, and Develop high-level technical
architecture, process models, data models, and a concept of operations. This
phase explores potential technical solutions within the context of the business
need.

8
 PICTORIAL REPRESENTATION OF SDLC

9
 PLANNING PHASE

The planning phase is the most critical step in completing development,

acquisition, and maintenance projects. Careful planning, particularly in the early

stages of a project, is necessary to coordinate activities and manage project risks

effectively. The depth and formality of project plans should be commensurate

with the characteristics and risks of a given project. Project plans refine the

information gathered during the initiation phase by further identifying the

specific activities and resources required to complete a project.

10
 REQUIREMENTS ANALYSIS PHASE
The purposes of this phase are to:

 Further define and refine the functional and data requirements and

document them in the Requirements Document,

 Complete business process reengineering of the functions to be supported

(i.e., verify what information drives the business process, what information

is generated, who generates it, where does the information go, and who

processes it),

 Develop detailed data and process models (system inputs, outputs, and the

process.

 Develop the test and evaluation requirements that will be used to determine

acceptable system performance.

11
 DEVELOPMENT PHASE
The development phase involves converting design specifications into

executable programs. Effective development standards include requirements

that programmers and other project participants discuss design specifications

before programming begins. The procedures help ensure programmers clearly

understand program designs and functional requirements. Programmers use

various techniques to develop computer programs. The large transaction

oriented programs associated with financial institutions have traditionally

been developed using procedural programming techniques. Procedural

programming involves the line-by-line scripting of logical instructions that are

combined to form a program. Effective completion of the previous stages is a

key factor in the success of the development phase.

12
 INTEGRATION AND TEST PHASE
Subsystem integration, system, security, and user acceptance testing is

conducted during the integration and test phase. The user, with those

responsible for quality assurance, validates that the functional requirements,

as defined in the functional requirements document, are satisfied by the

developed or modified system. OIT Security staff assess the system security and

issue a security certification and accreditation prior to

installation/implementation.

13
 IMPLEMENTATION PHASE
This phase is initiated after the system has been tested and accepted by the

user. In this phase, the system is installed to support the intended business

functions. System performance is compared to performance objectives

established during the planning phase. Implementation includes user

notification, user training, installation of hardware, installation of software

onto production computers, and integration of the system into daily work

processes. This phase continues until the system is operating in production in

accordance with the defined user requirements.

14
CSV TABLES:-
 BOOK AVAILABLE IN LIBRARY
:

BOOKS ISSUED BY MEMBERS

15
16
 PYTHON CODING
import pandas as pd
import matplotlib.pyplot as plt
from datetime import date
def addNewBook():
bookid = int(input("Enter a book id : "))
title = input("Enter book title : ")
author = input("Enter author of the book : ")
publisher = input("Enter book publisher : ")
edition = input("Enter edition of book : ")
cost = int(input("Enter cost of the book : "))
category = input("Enter category of book : ")
bdf = pd.read_csv("books.csv")
n = bdf["bookid"].count()
bdf.at[n] = [bookid,title,author,publisher,edition,cost,category]
bdf.to_csv("books.csv",index = False)
print("Book added successfully")

def login():
uname = input("Enter Username : ")
pwd = input("Enter Password : ")
df = pd.read_csv("users.csv")
df = df.loc[df["username"] == uname]
if df.empty:
print("Invalid Username given")
return False
else:
df = df.loc[df["password"] == pwd]
if df.empty:
print("Invalid Password")

17
return False
else:
print("Username and Password matched successfully")
return True

def searchBook():
name = input("Enter book title to be searched : ")
bdf = pd.read_csv("books.csv")
df = bdf.loc[bdf["title"] == name]
if df.empty:
print("No book found with given title")
return False
else:
print("Book details are ")
print(df)
return True

def deleteBook():
name = input("Enter book title to be deleted : ")
bdf = pd.read_csv("books.csv")
bdf = bdf.drop(bdf[bdf["title"] == name].index)
bdf.to_csv("books.csv",index = False)
print("Book Deleted Successfully")

def showBooks():
bdf = pd.read_csv("books.csv")
print(bdf)

def addNewMember():
mid = int(input("Enter Member id : "))

18
name = input("Enter name of the member : ")
phone = input("Enter phone number : ")
email = input("Enter email id : ")
address = input("Enter address : ")
number = 0
mdf = pd.read_csv("members.csv")
n = mdf["Memberid"].count()
mdf.at[n] = [mid, name, phone, email, address, number]
mdf.to_csv("members.csv", index=False)
print("Member added successfully")

def searchMember():
name = input("Enter member name to be searched : ")
mdf = pd.read_csv("members.csv")
df = mdf.loc[mdf["name"] == name]
if df.empty:
print("No member found with given name")
return False
else:
print("Member details are ")
print(df)
return True

def deleteMember():
name = input("Enter member name to be deleted : ")
mdf = pd.read_csv("members.csv")
mdf = mdf.drop(mdf[mdf["name"] == name].index)
mdf.to_csv("members.csv", index=False)
print("Member Deleted Successfully")

19
def showMembers():
mdf = pd.read_csv("members.csv")
print(mdf)

def issueBook():
bname = input("Enter Book name to be searched : ")
df = pd.read_csv("books.csv")
df = df.loc[df["title"] == bname]
if df.empty:
print("No Book Found in the Library")
return

mname = input("Enter member name to be searched : ")


df = pd.read_csv("members.csv")
df = df.loc[df["Name"] == mname]
if df.empty:
print("No such Member Found")
return

idf = pd.read_csv("issuedbooks.csv")
book_issue = [bname,mname,date.today(),""]
n = idf["book_name"].count()
idf.at[n] = book_issue
idf.to_csv("issuedbooks.csv",index = False)
print("Book Issued Successfully")
df = pd.read_csv("members.csv")

def showIssuedBooks():

20
idf = pd.read_csv("issuedbooks.csv")
print(idf)
def returnBook():
bname = input("Enter Book to be returned : ")
mname = input("Enter Member who has the book : ")
idf = pd.read_csv("issuedbooks.csv")
idf = idf.loc[idf["book_name"] == bname]
if idf.empty:
print("The book is not issued in records")
else:
idf = idf.loc[idf["member_name"] == mname]
if idf.empty:
print("The book is not issued to the member")
else:
print("Book can be returned")
ans = input("Are you sure you want to return the book : ")
if ans.lower() == "yes":
idf = pd.read_csv("issuedbooks.csv")
idf = idf.drop(idf[idf["book_name"] == bname].index)
idf.to_csv("issuedbooks.csv", index=False)
print("Book Returned Successfully")
else:
print("Return operation cancelled")

def showchart():
print("Press 1 - Books and their Cost")
print("Press 2 - Fine Paid by Members")
print("Press 3 - Frequently Issued Books")
print("Press 4 - No. of Books Issued per week")
ch = int(input("Enter your choice : "))
if ch == 1:

21
bdf = pd.read_csv("books.csv")
df = bdf[["title","cost"]]
bdf.plot(kind='bar')
#print(bdf)
def showMenu():
print("-----------------------------")
print(" ABC LIBRARY MGT ")
print("-----------------------------")
print("Press 1 - Add a New Book")
print("Press 2 - Search for a Book")
print("Press 3 - Delete a Book")
print("Press 4 - Show All Books")
print("Press 5 - Add a New Member")
print("Press 6 - Search for a Member")
print("Press 7 - Delete a Member")
print("Press 8 - Show All Members")
print("Press 9 - Issue a Book")
print("Press 10 - Return a Book")
print("Press 11 - Show All Issued Books")
print("Press 12 - To view Charts")
print("Press 13 - To Exit")
choice = int(input("Enter your choice : "))
return choice

if login():
while True:
ch = showMenu()
if ch == 1:
addNewBook()
elif ch == 2:
searchBook()

22
elif ch == 3:
deleteBook()
elif ch == 4:
showBooks()
elif ch == 5:
addNewMember()
elif ch == 6:
searchMember()
elif ch == 7:
deleteMember()
elif ch == 8:
showMembers()
elif ch == 9:
issueBook()
elif ch == 10:
returnBook()
elif ch == 11:
showIssuedBooks()
elif ch == 12:
showchart()
elif ch == 13:
break
else:
print("Invalid Option Selected")

23
 OUTPUT
To get output :press f5

•to add new book details in a csv:


ENTER BOOK DETAILS WHICH USER WANT TO PUT IN CSV FILE

24
•TO SEARCH FOR A BOOK :
ENTER NAME OF BOOK WHICH USER WANT TO SEARCH

•TO DELETE A BOOK:


ENTER BOOK DETAILS TO DELETE A BOOK FROM CSV FILE

25
•TO SHOW ALL BOOKS PRESENT IN THE CSV
FILE

•To add a new member in a library:


ENTER MEMBER DETAILS WHICH USER WANT TO PUT IN CSV
FILE

26
•TO SEARCH FOR A MEMBER:
ENTER MEMBER DETAILS WHOM USER WANT TO SEARCH

•TO DELETE A MEMBER:


ENTER DETAILS OF MEMBER WHICH USER WANT TO DELETE

27
•TO SHOW ALL MEMBERS IN LIBRARY:

•FOR ISSUE A BOOK: ENTER DETAILS TO ISSUE A BOOK

28
•FOR RETURN A BOOK:

•To show all issued books:

29
•TO DELETE A ISSUE A BOOK:
ENTER DETAILS TO DELETE A ISSUED
BOOKS

•TO VIEW CHARTS/GRAPHS:


 GRAPH BETWEEN NUMBER OF BOOKS AND THEIR COSTS

30
 GRAPH FOR NUMBER OF ISSUED BY MEMBERS

31
 BIBLOGRAPHY:

 INFORMATICS PRACTICES(TEXTBOOK)-SUMITA ARORA


 WWW.GOOGLE.COM

32
Thank
You!

∗∗∗∗∗
33

You might also like