A simple and beginner-friendly GUI-based Library Management System built using:
- Python
- Tkinter (GUI)
- SQLite (database)
This project is perfect for learning CRUD operations, GUI development, and file-based databases. Lightweight and easy to run on any system.
- Add new books
- View all books
- Search books by Title, Author, Year, or ISBN
- Update selected book
- Delete selected book
- Simple Tkinter graphical interface
- SQLite local database (no installation required)
library-management-gui-python/
βββ README.md
βββ CONTRIBUTING.md
βββ create_db.py # Creates SQLite database & table
βββ main.py # Main GUI application
- Python 3.x
- Tkinter (comes preinstalled with Python on Windows/Mac)
- SQLite (already included with Python)
-
Clone the project
git clone https://github.com/<your-username>/library-management-gui-python.git cd library-management-gui-python -
Create the database
Run the script once to generate
library.dbWindows:
python create_db.pyMac/Linux:
python create_db.pyOutput:
Database created successfully! -
Run the GUI Application
Windows:
python main.pyMac/Linux:
python3 main.py
You can extend this project with features like:
- User login system
- Issue/Return book tracking
- Due date & fine calculator
- Export records as Excel/PDF
- Modern UI (using CustomTkinter or PyQt5)
- Convert to Windows executable (.exe)
Please refer to the guidelines for making any contributions. Thank you!