Professional Documents
Culture Documents
Project File Sample
Project File Sample
Project File Sample
==============================================================================
Shreya page.1
IP Project File
PREF@CE
========================================================================================
==============================================================================
Shreya page.2
IP Project File
Certificate
This is to certify that Shreya Kumari of class XII
Sci B has successfully made her Informatic
Practices Project on the topic “Library
Management System”, under the guidance of
Ms.Aakanksha Rikhari (IP Teacher) during the
Acedemic Session of 2022-2023
________________
Teacher’s Signature
==============================================================================
Shreya page.3
IP Project File
Tv~ÇÉãÄxwzxÅxÇà
I would like to extend my sincere thanks and gratitude to my
Informatic Practices teacher, Ms. Aakanksha Rikhari, who
gave me the golden opportunity to do this project on Library
Management system, who also helped me in completing this
project. She also helped me a lot in finalizing this project and
gave me the valuable time and moral support to develop this
software.
==============================================================================
Shreya page.4
IP Project File
PROJECT ON
LIBRARY MANAGEMENT SYSTEM
INTRODUCTION
The project Library Management System aims at developing a fully
functional computerized system to maintain all the day-to-day activity of
a library. The library management system is all about organizing,
managing the library, and library-oriented tasks. It also involves
maintaining the database of entering new books and the record of books
that have been retrieved or issued, with their respective dates.
==============================================================================
Shreya page.6
IP Project File
SYSTEM REQUIREMENTS
Recommended System Requirements
Processors: Intel® Core™ i3 processor 4300M at 2.60
GHz.
Disk space: 2 to 4 GB.
Operating systems: Windows® 10, MACOS, and
UBUNTU.
Python Versions: 3.8.10 or Higher.
==============================================================================
Shreya page.7
IP Project File
Source Code
For Python:
------------------------------------------------------------------------------
Import pandas as pd
import mysql.connector
con=mysql.connector.connect(host='localhost',user='root',password='60659',use
_pure=True,database='mydb')
print(con)
def addbook():
data=(bn,ba,c,t,s)
c=con.cursor()
c.execute(sql,data)
==============================================================================
Shreya page.8
IP Project File
con.commit()
main()
def issueb():
data=(n,r,co,d)
c=con.cursor()
c.execute(a,data)
con.commit()
bookup(co,-1)
main()
==============================================================================
Shreya page.9
IP Project File
def returnb():
data=(n,r,co,d)
c=con.cursor()
c.execute(a,data)
con.commit()
bookup(co,1)
main()
==============================================================================
Shreya page.10
IP Project File
def bookup(co,u):
data=(co,)
c=con.cursor()
c.execute(a,data)
myresult=c.fetchone()
t=myresult[O]+u
d=(t,co)
c.execute(sql,d)
con.commit()
main()
def dbook():
data=(ac,)
c=con.cursor()
==============================================================================
Shreya page.11
IP Project File
c.execute(a,data)
con.commit()
main()
def dispbook():
c=con.cursor()
c.execute(a)
myresult=c.fetchall()
for i in myresult:
print("Author:",i[1])
print("Subject:",i[4])
print("\n\n")
main()
==============================================================================
Shreya page.12
IP Project File
def report_issued_books():
c=con.cursor()
c.execute(a)
myresult=c.fetchall()
d1=pd.DataFrame(myresult,
columns=['student','reg.no','Book','Date'])
print(d1)
main()
def report_return_books():
c=con.cursor()
c.execute(a)
myresult=c.fetchall()
d2=pd.DataFrame(myresult,
columns=['student','reg.no','Book','Date']
print(d2)
main()
==============================================================================
Shreya page.13
IP Project File
def main():
print(""""
============WELCOME!!===============
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
+------------------------------------+
| 1. ADD BOOK |
| 2. ISSUE OF BOOK |
| 3. RETURN OF BOOK |
| 4. DELETE BOOK |
| 5. DISPLAY BOOKS |
| 6. REPORT MENU |
| 7. EXIT PROGRAM |
+-------------------------------------+
""")
#print("\n")
==============================================================================
Shreya page.14
IP Project File
if(choice=='1'):
addbook()
elif(choice=='2'):
issueb()
elif(choice=='3'):
returnb()
elif(choice=='4'):
dbook()
elif (choice=='5'):
dispbook()
elif(choice=='6'):
print("""
+--------------------------+
| REPORT MENU |
+--------------------------+
1. ISSUED BOOKS
2. RETURNED BOOKS
""")
==============================================================================
Shreya page.15
IP Project File
choice=input(" Enter Task No. :")
print("\n")
if choice=='1':
report_issued_books()
elif choice=='2':
report_return_books()
elif choice=='3':
main()
else:
main()
elif(choice=='7'):
else:
main()
==============================================================================
Shreya page.16
IP Project File
For MySQL:
------------------------------------------------------------------------------
Create database mydb;
Use mydb;
total int,
bcode int,
issue_date varchar(50));
Bcode int(50),
==============================================================================
Shreya page.17
IP Project File
Outputs & tables
=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Main Menu:
==============================================================================
Shreya page.18
IP Project File
Adding a Book record:
==============================================================================
Shreya page.19
IP Project File
Issuing a Book:
==============================================================================
Shreya page.20
IP Project File
Returning a book:
==============================================================================
Shreya page.21
IP Project File
Deleting a book record:
==============================================================================
Shreya page.22
IP Project File
Displaying available Books:
==============================================================================
Shreya page.23
IP Project File
Reporting Menu:
1. Showing issued book records…
==============================================================================
Shreya page.24
IP Project File
2. Showing returned book records…
==============================================================================
Shreya page.25
IP Project File
3. Back to main menu…
==============================================================================
Shreya page.26
IP Project File
• Exiting Program:
==============================================================================
Shreya page.27
IP Project File
Futur_ S]op_
Of Li\r[ry
m[n[g_m_nt syst_m
• To assist the staff in capturing the effort spent by them
in managing a library database.
• To utilize resources in an efficient manner by increasing
their productivity through automation.
• Easy to operate and requires less man power.
• Possibility for Online Library services
• Likelihood for Libraries to support E-books.
• In an institution, A Library system can be used to
provide notes to students.
==============================================================================
Shreya page.29
IP Project File
U|uÄ|ÉzÜtÑ{ç
• www.slideshare.net
• diatm.org.in
• www.youtube.com/watch?v=8sqQhO83-8w
• www.pythonworld.in
==============================================================================
Shreya page.30
IP Project File