Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📚 Library Management System

A simple command-line Library Management System built with Python using Object-Oriented Programming (OOP) and JSON file storage.


Features

  • Add a new book
  • View all books
  • Search for a book by title
  • Borrow a book
  • Return a book
  • Remove a book
  • Save books to a JSON file
  • Automatically load books when the program starts

Technologies Used

  • Python 3
  • Object-Oriented Programming (OOP)
  • JSON
  • File Handling

Project Structure

Library-Management-System/
│
├── book.py
├── library.py
├── storage.py
├── main.py
├── books.json
└── README.md

How to Run

  1. Clone the repository.
git clone https://github.com/ridazahra-ai/Library-Management-System.git
  1. Navigate to the project folder.
cd Library-Management-System
  1. Run the application.
python manu.py

Example Menu

===== Library Management System =====

1. Add Book
2. View Books
3. Search Book
4. Borrow Book
5. Return Book
6. Remove Book
7. Exit

Concepts Practiced

  • Classes and Objects
  • Encapsulation
  • Modular Programming
  • File Handling
  • JSON Serialization
  • CRUD Operations
  • Exception Handling

Future Improvements

  • Prevent duplicate books
  • Search by author
  • Search by publication year
  • Display only available books
  • Add ISBN support
  • Add due dates and fine calculation

Author

Rida Zahra

About

A Python-based Library Management System using OOP, JSON storage, and file handling.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages