Skip to content

joseph09123/Library_Management_Sytem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Library_Management_Sytem

Library Management System built using Python and Object-Oriented Programming (OOP). This project supports core functionalities such as adding books and members, borrowing and returning books, and viewing records.

Description

This project is a console-based Library Management System developed using Python and Object-Oriented Programming (OOP) principles. It allows users to manage books, members, and borrowing transactions efficiently.

The system follows a structured flowchart and applies encapsulation using getters and setters, along with custom exception handling for better error management.

πŸš€ Features πŸ“– Add Book πŸ‘€ Add Member πŸ”„ Borrow Book βœ… Return Book πŸ“š View Books πŸ‘₯ View Members πŸ“‹ View Loans (with status: Active / Closed) ❌ Exit System

🧠 OOP Concepts Applied

Encapsulation – private attributes with getters/setters Abstraction – service layer (LibraryService) Modularity – separated into multiple files Exception Handling – custom error classes

πŸ—οΈ Project Structure library-system/ β”‚ β”œβ”€β”€ book.py β”œβ”€β”€ member.py β”œβ”€β”€ loan.py β”œβ”€β”€ library_service.py β”œβ”€β”€ custom_exceptions.py └── main.py

▢️ How to Run Make sure Python is installed Open terminal in the project folder Run: python main.py βš™οΈ System Flow

The program follows a menu-driven system:

User selects an option System processes request Displays result or error Returns to menu

πŸ“Š Loan Status System Active β†’ Book is currently borrowed Closed β†’ Book has been returned

✨ Notes The system prevents borrowing unavailable books Ensures proper tracking of book availability Maintains clean and readable output

πŸ‘¨β€πŸ’» Author Developed as part of a Computer Programming project.

About

Library Management System built using Python and Object-Oriented Programming (OOP). This project supports core functionalities such as adding books and members, borrowing and returning books, and viewing records.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages