Metadata-Version: 2.1
Name: pyngleton
Version: 0.0.4
Summary: A small example package
Project-URL: Homepage, https://github.com/yourlogarithm/pyngleton
Project-URL: Bug Tracker, https://github.com/yourlogarithm/pyngleton/issues
Author-email: Vlad-Sebastian Cretu <vlad.sebastian.cretu.dev@gmail.com>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Description-Content-Type: text/markdown

Thread-safe and process-safe singleton class.
The singleton is shared between all threads.
For every process, a new instance is initialized and shared between all threads of the process.

Use like this:
```
from pyngleton import Singleton

class MyClass(Singleton):
    pass

a = MyClass()
b = MyClass()

assert a is b
```