Skip to content

Library management system that stores the books and the members in a database and has the main features of a Library System

License

Notifications You must be signed in to change notification settings

Trigenaris/library-management-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š Library Management System

In this project, we create a library database for the users to borrow and return books from a made-up library system called Daisy Library.

πŸ“Œ Required Modules:

  • tkinter
  • os
  • csv
  • sqlite3
  • webbrowser

πŸ“Œ Main features:

  • Showing Books
  • Showing Members
  • Showing Lent Books
  • Adding a Book
  • Removing a Book
  • Registering a Member
  • Removing a Member
  • Lending a Book
  • Returning a Book
  • Adding Multiple Books (with a csv file)
  • Adding Multiple Members (with a csv file)

πŸ“Œ Extra features:

  • Some of the main features are hidden in a paned window. (More options button has to be clicked to see)
  • About us link to see the website of the made-up Daisy Library System

πŸ“–~β˜• Main Features

Main Layout

daisy

Showing Books:

daisy_1

No Book Error:

If the system has no books in it, the user is informed by the warning message which is shown below:

daisy_2

Showing Members:

daisy_3

No Member Error:

If the system has no members in it, the user is informed by the warning message which is shown below:

daisy_4

More Options:

As the user clicks the More Options button, a paned window appears on the main window's right side with other buttons.

daisy_5

More Options Layout:

  • Adding a book to the system
  • Removing a book by their name
  • Registering a new member to the system
  • Removing a member by their member ID
  • Lending a book to a member
  • Returning a book to the system
  • Adding multiple books to the system (only CSV files supported)
  • Registering multiple members to the system (only CSV files supported)
  • A URL linked to the website of the Daisy Library System

daisy_7

πŸ“˜ βž• πŸ“š Adding a Book:

To do so; first, the user clicks the Add Book button:

daisy_8

Then it is expected from the user to fill in the required information about the book:

daisy_10

An error message will be shown if the user does not fill in all the fields in the window:

daisy_12 daisy_13

As the user fills in all the fields; they will answer a question box if they are certain about the book's information. If the answer is yes, another message box informs the user:

daisy_14 daisy_15 daisy_16

πŸ“– ~ πŸ“‹ Show Books:

The user can see the book when they click the Show Books button this time as the database has a book in the system now:

daisy_1 daisy_17

πŸ“š βž– πŸ“˜ Removing a Book:

First, the user clicks the Remove Book button:

daisy_18

Then, the user writes down the name of the book that they want to remove, and after a confirmation, the referred book will be removed from the system:

daisy_19 daisy_20 daisy_21

πŸ‘€ βž• πŸ‘₯ Registering a Member:

To do so; first; the user clicks the Register Member button:

daisy_18

Then it is expected from the user to fill in the required information about the member:

daisy_22

After a confirmation, the member is added to the system:

daisy_23

πŸ‘₯ ~ πŸ“‹ Show Members:

The user can see the member when they click the Show Members button this time as the database has a member in the system now:

daisy_3 daisy_24

πŸ‘₯ βž– πŸ‘€ Removing a Member:

First, the user clicks the Remove Member button:

daisy_18

Then, the user writes down the member no of the referring member that they want to remove, and after confirmation, the referred member will be removed from the system:

daisy_25 daisy_26 daisy_27

πŸ“˜ ➑️ πŸ‘€ Lending a Book:

First, the user clicks the Lend Book button:

daisy_28

Then, the user writes down the name of the book and the member no of the member who wants to borrow the book:

daisy_29

After a confirmation; the book is lent to the referred member:

daisy_30 daisy_31

The user can check the borrowed books from the Show Lent Books button:

daisy_32 daisy_33

πŸ“˜ ➑️ πŸ“š Returning a Book:

As the user wants to return the book; first, click the Return Book button and enter the name of the book:

daisy_34

πŸ“— βž• πŸ“˜ βž• πŸ“š Adding Multiple Books and Registering Multiple Members:

The user can add multiple books or register multiple members if the appropriate csv file is imported.
Firstly, the user clicks the Add Multiple Books or Add Multiple Members button:

daisy_35

Then the user chooses the related csv file:

daisy_36

After the successful registration, the user can check the updated lists of the books and the members:

daisy_37

Updated Lists:

daisy_38 daisy_39