71 Open Source Decorator Software Projects
Free and open source decorator code projects including engines, APIs, generators, and tools.
Robclancy Presenter 346 ⭐
Decorate your objects using presenters. Primarily to keep presentation logic out of your models.
Typeorm Transactional Cls Hooked 182 ⭐
A Transactional Method Decorator for typeorm that uses cls-hooked to handle and propagate transactions between different repositories and service methods. Inpired by Spring Trasnactional Annotation and Sequelize CLS
Pydesignpattern 143 ⭐
Design Pattern that described by Python, This is the source code for the book of Everybody Know Design Patterns.
Func_timeout 124 ⭐
Python module which allows you to specify timeouts when calling any existing function, and support for stoppable threads
Riprova 106 ⭐
Versatile async-friendly library to retry failed operations with configurable backoff strategies
Python Aspectlib 90 ⭐
An aspect-oriented programming, monkey-patch and decorators library. It is useful when changing behavior in existing code is desired. It includes tools for debugging and testing: simple mock/record and a complete capture/replay framework.
Retrofit C.js 86 ⭐
Python Memoization 66 ⭐
A powerful caching library for Python, with TTL support and multiple algorithm options.
Di Ninja 53 ⭐
Burgundy 48 ⭐
A simple wrapper for objects (think of Burgundy as a decorator/presenter) in less than 150 lines.
React Reflorp 45 ⭐
Basically a simple ORM using Refetch, but the data is stored in Redux. Feel free to open an issue if you have a question or feature request.
Custom_inherit 41 ⭐
A Python package that provides tools for inheriting docstrings in customizable ways.
Python Pytest Steps 38 ⭐
A tiny package to ease the creation of test steps with shared intermediate results/state.
Wrapt_timeout_decorator 34 ⭐
Python Powerful Timeout Decorator that can be used safely on classes, methods, class methods
Catch Decorator 38 ⭐
Allows you to handle exceptions in ECMAScript/Typescript classes with only one annotation
Strongtyping 24 ⭐
Decorator which checks whether the function is called with the correct type of parameters.
Typescript Lazy Get Decorator 24 ⭐
Lazily evaluates a getter on an object and caches the returned value
Pytest Patterns 21 ⭐
A couple of examples showing how pytest and its plugins can be combined to solve real-world needs.
Python Valid8 18 ⭐
Yet another validation lib ;). Provides tools for general-purpose variable validation, function inputs/outputs validation as well as class fields validation. All entry points raise consistent ValidationError including all contextual details, with dynamic inheritance of ValueError/TypeError as appropriate.
Quote Selection 17 ⭐
Install a shortcut to append selected text to a <textarea> as a Markdown quote.
Typeorm Global Scopes 14 ⭐
A decorator for TypeORM entities that allow default global query scopes to entities.
Aigoncharov Singleton 16 ⭐
Singleton decorator. No constructor monkeypatching. Zero dependencies. Built with TypeScript.
Logwrap 12 ⭐
logwrap is a helper for logging in human-readable format function arguments and call result on function call
Eryue 10 ⭐
:cherries: A framework for full stack development of Nodejs for SMEs(small and medium-sized enterprises)！
Performance Decorator 14 ⭐
🏇User behavior & Function execution tracking solution - 大型前端项目的用户行为跟踪，函数调用链分析，断点调试共享化和复用化实践
Ng RxJS Take Until Destroy 10 ⭐
An Angular decorator that automatically unsubscribes decorated methods on component's 'ngOnDestroy' method's call.