Skip to content

Selvaragavanvsbec/BookManagementSystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

2 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“š 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

  1. Add Book
  2. View All Books
  3. Search Book
  4. Update Book
  5. 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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages