A simple command-line Library Management System built with Python using Object-Oriented Programming (OOP) and JSON file storage.
- 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
- Python 3
- Object-Oriented Programming (OOP)
- JSON
- File Handling
Library-Management-System/
│
├── book.py
├── library.py
├── storage.py
├── main.py
├── books.json
└── README.md
- Clone the repository.
git clone https://github.com/ridazahra-ai/Library-Management-System.git- Navigate to the project folder.
cd Library-Management-System- Run the application.
python manu.py===== Library Management System =====
1. Add Book
2. View Books
3. Search Book
4. Borrow Book
5. Return Book
6. Remove Book
7. Exit
- Classes and Objects
- Encapsulation
- Modular Programming
- File Handling
- JSON Serialization
- CRUD Operations
- Exception Handling
- Prevent duplicate books
- Search by author
- Search by publication year
- Display only available books
- Add ISBN support
- Add due dates and fine calculation
Rida Zahra