Skip to content

4 advanced OOP projects (Library, Banking, Shapes, HR) focusing on implementing Encapsulation, Inheritance, and Polymorphism principles.

Notifications You must be signed in to change notification settings

bellikerem/python-oop-fundamentals

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

19 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›οΈ Python OOP Fundamentals β€” Object-Oriented Programming Projects

πŸ“˜ Overview
This repository contains four Python projects designed to strengthen Object-Oriented Programming (OOP) fundamentals, focusing on Encapsulation, Inheritance, Polymorphism, and Composition.
These projects build the architectural foundation required for scalable Full-Stack Backend Development and AI/ML Model Design.


🎯 Key Objectives & Achievements

🧱 Implement core OOP pillars in real-world class design
πŸ“š Practice modeling real entities: Library, Bank, HR System, Geometric Shapes
πŸ”’ Protect data integrity using private attributes (__balance)
🧩 Demonstrate polymorphism via method overriding and class hierarchies
πŸ§ͺ Write maintainable, modular, and extensible class-based code


πŸ› οΈ Technologies Used

  • Python 3
  • OOP (Encapsulation, Inheritance, Polymorphism, Composition)
  • Clean & Modular Code Architecture
  • Git & GitHub Feature Branch Workflow

πŸ“‚ Folder Structure

πŸ“ python-oop-fundamentals/ ┣ πŸ“ library-management-system/ ┣ πŸ“ banking-system/ ┣ πŸ“ shape-calculator/ ┣ πŸ“ hr-management-system/ β”— πŸ“˜ README.md


πŸ’‘ Projects & Key Learnings

1️⃣ πŸ“š Library Management System

Focus: Composition & Encapsulation
Classes: Book, Member, Library
Key Learning: Controlled state changes (borrow & return system)
Path: /library-management-system


2️⃣ 🏦 Basic Banking System

Focus: Encapsulation (Private Attributes)
Important Attribute: __balance (prevents unauthorized access)
Key Learning: Secure deposit/withdraw operations
Path: /banking-system


3️⃣ πŸ”· Shape Calculator

Focus: Inheritance & Polymorphism
Base Class: Shape
Child Classes: Circle, Square, Rectangle
Key Learning: Method overriding (area(), perimeter())
Path: /shape-calculator


4️⃣ πŸ§‘β€πŸ’Ό Human Resources Management System

Focus: Class Hierarchy & Inheritance
Base Class: Personal
Child Classes: Administrator, Worker
Key Learning: super().__init__() for shared attributes
Path: /hr-management-system


πŸš€ How to Run

  1. Clone the Repository:
    git clone https://github.com/bellikerem/python-oop-fundamentals
    cd [project_folder]
    python [file_name].py
    

πŸ‘¨β€πŸ’» Developer

Kerem Can Belli
πŸ“§ k.belli.eng@gmail.com
πŸ”— linkedin.com/in/keremcanbelli
πŸ’Ύ github.com/bellikerem

About

4 advanced OOP projects (Library, Banking, Shapes, HR) focusing on implementing Encapsulation, Inheritance, and Polymorphism principles.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages