Open Source Aspect-Oriented Frameworks in Python

3 projects

Python module for AOP. Ready-to-use aspects and helpers to define custom aspects; supports design-by-contract style. By Logilab.

Details
AOPythonInactive

AOP module for Python. Base Aspect to advise or wrap function/method calls; weave function to apply advice to modules, classes, or instances. Advice can modify parameters and return values, handle exceptions, log, or manage resources.

Details
Aspects.pyInactive

Library to intercept function and method calls. Wrap functions so the wrap is invoked first; omit or repeat original execution; modify arguments and return values. Around-style advices on call join points.

Details