Project w/ APD


https://github.com/lord63/awesome-python-decorator


Python Decorators

Abstract Methods

Coroutines

Termination

Class Methods

Context Managers

Caching

  1. @functools.cached_property - Transform a method of a class into a property whose value is computed once and then cached as a normal attribute for the life of the instance.
  2. @functools.lru_cache - Decorator to wrap a function with a memoizing callable that saves up to the maxsize most recent calls. It can save time when an expensive or I/O bound function is periodically called with the same arguments. New in Python 3.2.