Python Based Singleton Implementation