Singleton API Documentation
singleton.py Implementation of the Singleton design pattern in Python.
This module defines a Singleton class to ensure that only one instance of the class is created during the program’s lifetime.
- class SingletonMeta[source]
Bases:
typeA metaclass for creating Singleton classes.
Ensures that only one instance of the class exists.