Skip to content

codexpro-official/python-oops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-oops

📂 Folder Structure

🔐 Encapsulation

01_Encapsulation/ ├── public_member.py ├── protected_member.py └── private_member.py

🧬 Inheritance

02_Inheritance/ ├── single_inheritance.py ├── multiple_inheritance.py ├── multilevel_inheritance.py ├── hierarchical_inheritance.py └── hybrid_inheritance.py

🔁 Polymorphism

03_Polymorphism/ ├── method_overriding.py ├── operator_overloading.py ├── duck_typing.py └── function_polymorphism.py

🧩 Abstraction

04_Abstraction/ ├── abstract_class.py ├── abstract_method.py └── interface_example.py

🏗️ Class & Object

05_Class_and_Object/ ├── class_example.py ├── object_vs_class.py ├── constructor.py └── Object_Creation/

⚙️ Object Creation

Object_Creation/ ├── 01_Normal/ │ ├── simple_object.py │ ├── multiple_objects.py │ └── without_constructor.py │ ├── 02_Pattern/ │ ├── 01_Creational/ │ │ ├── singleton.py │ │ ├── factory.py │ │ ├── abstract_factory.py │ │ └── builder.py │ │ │ ├── 02_Structural/ │ │ ├── adapter.py │ │ ├── decorator.py │ │ ├── facade.py │ │ └── proxy.py │ │ │ └── 03_Behavioral/ │ ├── observer.py │ ├── strategy.py │ ├── command.py │ └── template_method.py │ ├── 03_Immutable/ │ ├── immutable_object.py │ ├── frozen_dataclass.py │ └── tuple_based_object.py │ └── 04_Controlled_Custom/ ├── custom_new_method.py ├── validation_object.py └── private_constructor.py


📄 Root Files

README.md requirements.txt

About

Well-structured Python OOPS concepts including encapsulation, inheritance, polymorphism, abstraction and object creation patterns.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors