Python Aspect Oriented Programming
Project description
This library aims to improve python aspects oriented programming efficiency among several existing library.
Installation
pip install b3j0f.aop
Examples
>>> from b3j0f.aop.advice import weave>>> def function_to_intercept(): >>> return 1>>> weave(function_to_intercept, lambda adviceexecutor: advoceexecutor.proceed(), 1)>>> assert function_to_intercept(), (1, 1)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
b3j0f.aop-0.3.1.tar.gz
(11.8 kB
view hashes)