Lightweight Approach to AOP in Python aspects.py is a lightweight and low-level library for intercepting function calls. Functions and methods (also in Python standard library and third party code) can be wrapped so that when they are called, the wrap is invoked first in Public bookmarkswith aoplibrariespython