You are on page 1of 21

LIBRARY MANAGEMENT

A Project Report submitted in partial fulfillments of


requirements
AISSCE- All India Senior School Certificate
Examination XII (2023-24)
In
INFORMATIC PRACTICES (065)
By:
Fathima Zakkeer and Kanika Siva (XII-G)
BRIGHT RIDERS SCHOOL, ABU DHABI, UAE
ACKNOWLEDGEMENT
Primarily, I/We would thank God for being able to complete this
project with success.
Then, I/We would like to express my/our special thanks to
my/our IP teacher(s) Ms. Ponneswari MUthukumar and our
Principal Dr. Rishikesh Padegaonkar for their able guidance and
support in the completion of this wonderful project on the topic.
This project helped me/us learn a lot of new topics. I/We am/are
very grateful to them.
I/We would also like extend my/our gratitude to my/our parents,
teachers and friends who helped me/us in various phases of the
project. Thanks to them, I/We was/were able to finalize and
finish the project within the given time frame.
PARTICULARS
Name: Kanika Siva

Class: XII - G

GR No.: 9010

Roll No.:

Topic: Library Management

Teacher-In-Charge: Ms. Ponneshwari

Signature of Internal Examiner:

Signature of Principal:

Signature of External Examiner:

CERTIFICATE
Certified that this dissertation record of the work done by Kanika Siva during XII

Informatics Practices course in the academic year 2023-2024.

Ms.

Ponneshwari

Department of IP

Bright Riders School – Abu Dhabi

Submitted for the examination held on:

Examiners:

Contents
SNo. Topic Page
no.
1. Introduction 10
2. Process 11
3. System Requirements 12
4. Data Manipulation 13

5. Importing and Exporting 16

6. Analysis of Data 18
7. Graphical Representation 21
8. Conclusion 29

Introduction
We the student of class XIIG of Bright Riders School, Abu
Dhabi have been assigned the topic “LIBRARY
MANAGMENT”.
To perform this task, we students were divided into
groups. We are two students Fathima and Kanika. The
work of coding, analyzing, compiling, and concluding
was equally assigned and done.
We are glad we got to work on this project. It was a new
experience for us but with the help of our teachers we
were able to complete the project efficiently.
We feel blessed to have learnt all this with the help of our
teachers and our respected principal sir’s guidance.

Process
Firstly, we did the planning in a paperwork regarding what we
have to do on the assigned project “LIBRARY
MANAGMENT”.
Secondly, we discussed the plans with our subject teacher
and she provided us the right path to perform the work.
Next, we started our project on foot paths of our subject
teacher.
Then, we started our coding, coding took around more than 6
weeks completion.
Next, we analyzed the errors and then we corrected them.
Then, we prepared the project format as shown above.
Thanks to all of my worthy teachers, principal and my dear
group mates.
Also, a great thanks to Bright Riders School for providing us
this golden opportunity.

System requirements of the Project

Recommended System Requirements:


Processors: Intel® Core™ i3 processor 4300M at 2.60 GHz.
Disk space: 2 to 4 GB.
Operating systems: Windows® 10, Windows® 8 and
MACOS.
Python Versions: 3.X.X or Higher.
Minimum System Requirements:
Processors: Intel Atom® processor or Intel® Core™ i3
processor.
Disk space: 1 GB.
Operating systems: Windows 8, Windows 10 and MACOS.
Python Versions: 2.7.X, 3.6.

Importing and Exporting CSV files

Importing CSV-
Code:
my_df = {'Name': ['neha', 'haniya'],
'GR no': [1489, 4855]}
df = pd.DataFrame(my_df)
print('DataFrame:\n', df)
csv_data=df.to_csv("C:\\Users\\pathu\\Downloads\\IP practical\\excel\\csv.csv")
print(csv_data)
Analysis of Data
Tail()
Coding-

Output-

Head()
Coding-

Output-

Max()

Min()

Count()
Sum()

GRAPHICAL REPRESENTATION

BAR GRAPH
PIE CHART
SCATTER GRAPH
Coding for connection of systems
import mysql.connector as sql

import pandas as pd

conn=sql.connect(host='localhost',user='root',passwd='*******',)

if conn.is_connected():

print('successfully connected')

c=conn.cursor()

c.execute("CREATE DATABASE IF NOT EXISTS school_library")

c.execute("use school_library")

def createt1():

c.execute("CREATE TABLE IF NOT EXISTS student_details(GR_no INT(4),name CHAR(30))")

name =input('enter your name=')

GR_no =int(input('enter your GR no='))

sql ="insert into student_details values(%s,'%s')"

values=(name,GR_no)

c.execute(sql,values)

conn.commit()

print('data is updated')

def createt2():

c.execute("CREATE TABLE IF NOT EXISTS book_details(book_name CHAR(30),author_name


CHAR(30))")

name =input('enter book name=')

author =input('enter author name=')

sql ="insert into book_details values(%s,%s)"

values=(name,author)

c.execute(sql,values)

conn.commit()

print('data is updated')
def createt3():

c.execute("CREATE TABLE IF NOT EXISTS librarian_details(librarian_name VARCHAR(35),librarian_age


INT(3))")

name =input('enter your name=')

age =int(input('enter your age='))

sql ="insert into librarian_details values(%s,%s)"

values=(name,age)

c.execute(sql,values)

conn.commit()

print('data is updated')

def displayt1():

t=conn.cursor()

t.execute('select*from student_details')

record=t.fetchall()

for i in record:

print(i)

def displayt2():

t=conn.cursor()

t.execute('select*from book_details')

record=t.fetchall()

for i in record:

print(i)

def displayt3():

t=conn.cursor()

t.execute('select*from librarian_details')

record=t.fetchall()

for i in record:

print(i)

def showt1():
a=input('enter your name=')

t='select*from student_details where cu=("{}")'.format(a)

c.execute(t)

v=c.fetchone()

print(v)

def showt2():

a=input('enter your book_name=')

t='select*from book_details where p=("{}")'.format(a)

c.execute(t)

v=c.fetchone()

print(v)

def showt3():

a=input('enter your name=')

t='select*from librarian_details where n=("{}")'.format(a)

c.execute(t)

v=c.fetchone()

print(v)

def sqldf():

df=pd.read_sql("select*from library_management;",conn)

print (df)

def csv():

my_df = {'Name': ['neha', 'haniya'],

'GR no': [1489, 4855]}

df = pd.DataFrame(my_df)

print('DataFrame:\n', df)

csv_data = df.to_csv("C:\\Users\\pathu\\Downloads\\IP practical\\excel\\csv.csv")

print(csv_data)
print('school library management system')

print('1.login')

print('2.exit')

cho =int(input('enter your choice:'))

if cho ==1:

name =input('enter your user name (abc) =')

passwd =input('enter your password (1234) =')

while name =='abc' and passwd =='1234':

print('connected successfully')

print('school library')

print('1.student details')

print('2.book details')

print('3.librarian details')

print('4.see all student details')

print('5.see all book details')

print('6.see all librarian details')

print('7.see one student details')

print('8.see one book details')

print('9.see one librarian details')

print('10.exit')

cho =int(input('enter the choice:'))

if cho ==1:

createt1()

elif cho ==2:

createt2()

elif cho ==3:

createt3()
elif cho ==4:

displayt1()

elif cho ==5:

displayt2()

elif cho ==6:

displayt3()

elif cho ==7:

showt1()

elif cho ==8:

showt2()

elif cho ==9:

showt3()

elif cho==10:

sqldf()

elif cho==11:

csv()

elif cho ==12:

exit()

else:
print('wrong password, try again ')

if cho ==2:

exit()

You might also like