Singleton Pattern in Python