wrapt

Module for decorators, wrappers and monkey patching.

Here are some articles that you may find helpful