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

tecoradors-elunico

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tecoradors-elunico

A small collection of decorators I like to use often

  • 8.2.2
  • PyPI
  • Socket score

Maintainers
1

Tecoradors

Python decorators that I like to use a lot.

Find the github repo here

Find the pypi package here

Named based on my name which starts with a T. You can find more information reading the docstrings of the functions.

Information on how to use these decorators can be found in their docstring Using help(tecorador) is a good way to learn about them. You can also read their docs on Github

Decorators are

  • Enforcer *(new in 7.0.0!): subclassable and customizable annotation type checking enforcer: pass instance to @enforce_annotations decorator to customize its behavior
  • CompositeEnforcer (new in 7.0.0!): Allows multiple Enforcer objects to work together in sequence
  • EnforceAnnotations (Removed in 7.0.0): use pluggable Enforcer objects and @enforce_annotations function decorator
  • enforce_annotations *(new in 6.3.0!): Enforces type annotations on arguments and return types at runtime. Replaces @accepts and @returns. Customizable with custom Enforcer sublcasses
  • deprecated
  • accepts
  • returns
  • interruptable
  • json_serializable
  • spread
  • builder
  • tattle
  • timed
  • squash
  • stringable
  • equatable
  • hashable
  • orderable
  • dataclass
  • final
  • freeze
  • log
  • synchronized
  • count_calls
  • lazy
  • precompute
  • resultify
  • exc_to_bool

Support from types

  • Self
  • PredicateType
  • TattleOptions
  • FrozenClassError
  • PrecomputeStorage
  • NoSuchValue

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