Skip to content

SemonMamdouh/library_system_OOP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“š Library System in Python (OOP Project)

This project is a Library Management System built using Object-Oriented Programming (OOP) in Python within a Jupyter Notebook. It simulates a simple system where users can view available books, borrow a book, or return a book β€” all using class-based structure and interactive console inputs.

🎯 Objective

To demonstrate core OOP concepts in Python through a real-world example: managing a basic library.

🧱 OOP Concepts Used

  • βœ… Classes and Objects
  • βœ… Encapsulation
  • βœ… Instance Methods
  • βœ… Constructors (__init__)
  • βœ… Interaction Between Classes

πŸ› οΈ Technologies Used

  • Python 3.x
  • Jupyter Notebook

🧩 Features

  • View available books in the library
  • Borrow a book (if available)
  • Return a borrowed book
  • Interactive text-based interface
  • Easy to expand (e.g., track users or due dates)

πŸ“‚ Project Structure

The system includes two main classes:

  • Library – handles book storage, borrowing, and returning
  • Student – handles user interaction and requests

Example Flow

Welcome to the Library!
Choose an option:
1. List all available books
2. Request a book
3. Return a book
4. Exit the library

Enter your choice: 1
Books currently available: ['Python', 'Data Science', 'Machine Learning']

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published