The Library Management System is a Python-based application that allows users to manage books, track borrow/return records, and store transaction history using an SQLite database. The graphical user interface (GUI) is built with Tkinter for smooth and simple user interaction.
- 📖 Book Management – Add printed books or e-books with details like author, pages, or file size.
- 📦 Stock Management – Increase stock for existing books.
- 🔍 Search & Display – List all books with availability status.
- 🛒 Borrow & Return – Borrow books by ID and return them using active borrow records.
- 🗃 Database Integration – Stores book data, borrowing history, and active borrow records using SQLite.
- 📜 Borrowing History – View all borrow and return transactions with timestamps.
- ✅ Active Borrows – Track currently borrowed books that are not yet returned.
⚠️ Error Handling – Prevents invalid inputs (e.g., negative stock or returning un-borrowed books).
Ensure you have Python 3.7+ installed on your system.
-
Clone this repository:
git clone https://github.com/OmarMashal0/Library-Management-System.git
-
Navigate to the project folder:
cd Library-Management-System -
Install required dependencies:
- No external dependencies required.
- Requires Python 3.7+ (with Tkinter and SQLite3, included by default).
-
Run the application:
python src/main.py
- Python – Core programming language
- Tkinter – GUI framework
- SQLite – Database for storing books, history, and active borrows
This project is licensed under the MIT License.
Feel free to contribute and enhance the project! 🚀

