A simple command-line Library Management System built using Python.
This project demonstrates object-oriented programming concepts β using Book, User, and Library classes β to simulate how a small library system works.
It allows adding, listing, and searching for books, registering users, and managing book borrowing and returning.
- π Add and list books
- π Search books by title
- π₯ Register users (prevents duplicate user IDs)
- π Borrow and return books (quantity is updated automatically)
- π§Ύ View a user's borrowed books
- π» Menu-driven interface for easy navigation
Library_Proj/ β βββ library_system.py # Main program file βββ library.json # Optional sample JSON file (not used by default) βββ README.md # Project documentation
- Python 3.8 or higher
- No external dependencies required
- Open a terminal and navigate to the project folder:
cd /path/to/Library_Proj
Run the program:
python library_system.py
Use the interactive menu:
Welcome to the Library Management System
- View all books
- Add books
- Search for a book by title
- Borrow a book
- Return a book
- View borrowed books
- Add new User
- Exit