A common and useful decorator library for python.
- singleton
- timeit
- retry
- memorized
- suppress_exceptions
- once
- synchronized
- qps
- final, override
- abstract, deprecated
- timeout
- asynchronous
- countcalls
- accepts, returns, raises
onion-decorator is developed and maintained by fanwei.zeng (stayblank@gmail.com). It can be found here: