Skip to content

usual design patterns are developed in python, appropriate for python developers.

Notifications You must be signed in to change notification settings

abolfazl8131/python_design_patterns

Repository files navigation

Index of example files and classes:

/adapter payment_portal.py -class PaymentAdapter -class SamanPortal -class ShaparakPortal -class SamanPortalAdapter -class ShaparakPortalAdapter

/factory_method factory_method.py -class Product -class Book -class Laptop -class ProductFactory sms_factory.py -class AbstractSMSService -class Service1 -class Service2 -class SMSFactory

/singleton redis_singleton.py -class Redis singleton.py -class DB

/strategy data_storage.py -class DataStorageStrategy -class MemoryStore -class DiskStore

/template font.py -class AbstractFont -class VazirFont -class LalezarFont

facade.py -class Product -class Book -class Laptop -class ProductMaker

prototype.py -class Product -class Laptop -class Lamp -class ProductCache

About

usual design patterns are developed in python, appropriate for python developers.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages