class Stats:
    _current_instance = None

@classproperty
def singleton(cls):
    if cls._current_instance is None:
        cls._current_instance = Stats()
return cls._current_instance
Python: @staticmethod с @property