{"library":"singleton-decorator","type":"library","category":null,"description":"The `singleton-decorator` is a Python library (version 1.0.0, last released in 2017) that provides a simple decorator to implement the singleton design pattern for classes. It aims to address common pitfalls of other singleton implementations, specifically making the decorated classes more amenable to unit testing by exposing the original class via a `__wrapped__` attribute. The library is stable but not actively developed.","language":"python","status":"maintenance","version":"1.0.0","tags":["singleton","decorator","design-pattern","testing"],"install":[{"cmd":"pip install singleton-decorator","imports":["from singleton_decorator import singleton"]}],"homepage":null,"github":"https://github.com/Kemaweyan/singleton_decorator","docs":null,"changelog":null,"pypi":"https://pypi.org/project/singleton-decorator/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2.4,"avg_import_s":0,"wheel_type":"sdist"},"url":"https://checklist.day/v1/registry/singleton-decorator/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}