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

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