singleton_decorator
singleton_decorator copied to clipboard
A testable singleton decorator
Is this project maintained? Should I provide a PR or should I fork? ```bash 95% ❯ poetry add singleton-decorator Using version ^1.0.0 for singleton-decorator Updating dependencies Resolving dependencies... (20.6s) Writing...
I could not find a conda package for singleton decorator. Best practice for using pip packages in a conda environment is [to use conda-build](https://www.anaconda.com/blog/using-pip-in-a-conda-environment) to create a new package. I...
use cython to compile python project where some class usging @singleton; The compiled result .so file is illness and can not be used. Python3.6
License is specified but not in the repo. https://github.com/Kemaweyan/singleton_decorator/blob/master/setup.py#L16C1-L16C23 license = "GPLv3", A Sample is at https://www.gnu.org/licenses/gpl-3.0-standalone.html as a file that would be [LICENSE.txt](https://github.com/Kemaweyan/singleton_decorator/files/12577260/LICENSE.txt)
This library needs a typing support to prevent linters from complaining about missing stub file.