NSingleton
🌟 Features | 📌 What and why | ⚙️ Run and configuration | 📜 License
New Singleton decorator. Just another singleton pattern implementation. Thread-safe, with type casting.
🌟 Features
- Yet another singleton decoration implementation. This one just works;
- Thread-safe decorator?! I'm not really sure it works or is needed, but let it be;
- Type casting! VSCode's linters are not screaming and auto-completion works as expected;
📌 What and why
Just wanted to push my singleton as a library to be able to reuse it in my projects. Going to support it as well. Please do not hesitate to ask questions or make suggestions if anything.
⚙️ Run and configuration
Install library with PyPi, import and use.
📜 License
Distributed under the MIT License license. See LICENSE for more information.
Metadata
Release files for nsingleton 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nsingleton-0.1.0.tar.gz | 3.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nsingleton-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.0 kB
Release files / nsingleton-0.1.0.tar.gz
| Download URL | nsingleton-0.1.0.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0a227684abcc236cc9087f694bbc4437ec342abf4ebb4a605f7bd40d962e838
|
|
BLAKE2b-256 checksum How to use checksums |
71767e0b8c65915ea51b15d6abd317a9798d6b424b7451223b038a49881ae2ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|
Release files / nsingleton-0.1.0-py3-none-any.whl
| Download URL | nsingleton-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
376b393b6dc9e0799a51659c6c7b3b49978da3c3a4f65d70a4a4f72e1eb12781
|
|
BLAKE2b-256 checksum How to use checksums |
0ef20a233c5d272aa877681f4b52630d6cfd62f462fff36bde3f538546d75642
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.18
|