π Design Patterns With Python Topics Singleton Factory Method Builder Prototype Abstract Factory Adapter Decorator Singleton pytest -s -k test_singleton