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 | Provenance | Actions |
|---|---|---|---|---|
| nsingleton-0.1.0.tar.gz | 3.1 kB | Without provenance | Details for nsingleton-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nsingleton-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for nsingleton-0.1.0-py3-none-any.whl |
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
|
Security for nsingleton 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.