方法拦截和依赖注入实现。
py_interception的Python项目详细描述
截留
PyInterception是一种带有依赖注入实现的Python方法拦截
主页
PyInterception Project托管在github上。
安装
通过PIP命令
sudo pip install py_interception
手册
用于默认的python可执行文件
git clone https://github.com/moisespsena/py_interception.git py_interception
cd py_interception
sudo python setup.py install
另一个python可执行文件
sudo python3 setup.py install
示例
有关详细信息,请参见tests。
历史
1.0(2012-10-08)
- 初始版本