๐ Book Management System
A simple Python-based Book Management System that allows users to manage book records using a SQLite database. This project demonstrates database operations such as insertion, retrieval, updating, and searching using Python.
๐ Project Description
The Book Management System is a console-based application developed in Python. It allows users to:
Add new books
View all books
Search books by title or author
Update book details
Store data persistently using SQLite
This project is ideal for learning:
Python programming
Database integration
CRUD operations
File handling
๐ Features
โ Add new book records โ View all available books โ Search books by title โ Search books by author โ Update book information โ Persistent storage using SQLite database
๐ ๏ธ Technologies Used
Programming Language: Python 3.x
Database: SQLite3
Libraries Used:
sqlite3 (built-in)
csv (for dataset handling)
๐ Project Structure BookManagementSystem/ โ โโโ BK_System.py # Main application file โโโ db_setup.py # Database initialization script โโโ model.py # Database functions (CRUD operations) โโโ book_data.csv # Sample dataset โโโ books.db # SQLite database โโโ requirements.txt # Project dependencies โโโ README.md โ๏ธ Installation & Setup 1๏ธโฃ Clone the Repository git clone https://github.com/Selvaragavanvsbec/BookManagementSystem.git cd BookManagementSystem 2๏ธโฃ Create Virtual Environment (Optional but Recommended) python -m venv venv
Activate environment:
Windows
venv\Scripts\activate
Mac/Linux
source venv/bin/activate 3๏ธโฃ Install Requirements pip install -r requirements.txt 4๏ธโฃ Initialize Database python db_setup.py
This will create the books.db file.
5๏ธโฃ Run the Application python BK_System.py ๐ฅ๏ธ How It Works
The system connects to a SQLite database.
Tables are created if not already present.
Users interact through a menu-driven console interface.
All book records are stored in books.db.
๐ Example Menu
- Add Book
- View All Books
- Search Book
- Update Book
- Exit ๐ฎ Future Improvements
Add delete book feature
Implement user authentication
Add graphical user interface (GUI)
Convert to web-based application using Flask/Django
Integrate book recommendation feature
๐จโ๐ป Author
Selvaragavan GitHub: https://github.com/Selvaragavanvsbec
๐ License
This project is open-source. You may add an MIT License file if required.