github.com/ionelmc/python-aspectlib (go): 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.
Keywords: aop|aspect-oriented-framework|aspect-oriented-programming|debugging|decorator|decorators|monkey-patching|python