New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

nsingleton

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nsingleton

New Singleton decorator. Just another singleton pattern implementation. Thread-safe, with type casting.

  • 0.1.0
  • PyPI
  • Socket score

Maintainers
1

NSingleton

:star2: Features | :pushpin: What and why | :gear: Run and configuration | :scroll: License

New Singleton decorator. Just another singleton pattern implementation. Thread-safe, with type casting.

:star2: 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;

:pushpin: 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.

:gear: Run and configuration

Install library with PyPi, import and use.

:scroll: License

Distributed under the MIT License license. See LICENSE for more information.

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc