Skip to content

Sonydivya/library-management-system

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š Library Management System (CLI)

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.


πŸš€ Features

  • πŸ“– 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

πŸ—‚οΈ Project Structure

Library_Proj/ β”‚ β”œβ”€β”€ library_system.py # Main program file β”œβ”€β”€ library.json # Optional sample JSON file (not used by default) └── README.md # Project documentation


🧰 Requirements

  • Python 3.8 or higher
  • No external dependencies required

βš™οΈ How to Run

  1. 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

  1. View all books
  2. Add books
  3. Search for a book by title
  4. Borrow a book
  5. Return a book
  6. View borrowed books
  7. Add new User
  8. Exit

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages