The Library Management System (LMS) is a comprehensive software solution designed to efficiently manage library operations, catering to both students and administrators. The system provides a user-friendly graphical interface for students to register, log in, borrow, and return books. Administrators, on the other hand, can oversee library statistics, manage students, and control the library's book inventory.
- Introduction
- Features
- Requirements
- Installation
- Usage
- Student Interface
- Admin Interface
- Database Structure
- Modules Used
- File Structure
- Contribution
The Library Management System is a Python-based application developed to streamline library processes. It consists of two main interfaces: one for students and another for administrators. Students can register, log in, borrow, and return books, while administrators can manage library statistics, oversee book inventory, and handle student information.
- User registration and login.
- View profile information.
- Display borrowed books.
- Browse and search for available books.
- Borrow and return books.
- Admin registration and login.
- View profile information and library statistics.
- Manage student information.
- Browse and search for all books in the library.
- Add, remove, and update books in the library.
Python 3.11
customtkinter
moduletime
modulePIL
(Python Imaging Library) modulesqlite3
moduleos
modulehashlib
modulerandom
module
- Run packageinstaller.py to install the necessary packages.
- Execute lib_sys.py to start the Library Management System.
- Click the "Student" button.
- Register with User ID, password, class, and email.
- Login with the registered username and password.
- View profile, borrowed books, and available books.
- Borrow and return books as needed.
- Click the "Admin" button.
- Register with username, password, email, and unique library ID.
- Login with the registered username and password.
- View profile, library statistics, and manage students.
- Browse, search, and manage all books in the library.
The system uses an SQLite database named mydatabase.db with the following tables:
- admname,
- password,
- email,
- pfp
- username,
- password,
- class,
- email,
- pfp
- bid,
- title,
- subject,
- author,
- status
- bid (foreign key connected with booksdetail),
- username (foreign key connected with studentdetail)
customtkinter
: Customized graphical user interface.time
: Time-related functions.PIL
: Python Imaging Library for image processing.sqlite3
: SQLite database management.os
: Operating system interaction.hashlib
: Hashing passwords for security.random
: Generating random values.
Main.py
: Main program file.packageinstaller.py
: Installs required packages.pfp/
: Folder containing profile pictures for students.admpfp/
: Folder containing profile pictures for administrators.Items/
: Folder containing icons,booksdata.txt
, andabout.txt
.booksdata.txt
: Initial data for books.about.txt
: Information about the library management system.
The Library Management System project was developed by [Saurav Kumar] as a school project.