文件名称:wrapt, 用于装饰器,包装器和猴子修补的python 模块.zip
文件大小:158KB
文件格式:ZIP
更新时间:2022-10-08 03:34:13
开源
wrapt, 用于装饰器,包装器和猴子修补的python 模块 wrapT 收费模块的目的是为 python 提供透明对象代理,它可以作为函数包装器和修饰函数的构造基础。的wrapT 模块非常关注正确性。 因此,它超越了现有的机制,比如 functools.wraps(),确保deco
【文件预览】:
wrapt-master
----.gitignore(443B)
----README.rst(5KB)
----appveyor.yml(674B)
----tests()
--------test_adapter.py(4KB)
--------test_adapter_py33.py(2KB)
--------test_function_wrapper.py(17KB)
--------conftest.py(512B)
--------test_class.py(674B)
--------test_weak_function_proxy.py(4KB)
--------test_outer_classmethod.py(6KB)
--------test_object_proxy.py(45KB)
--------test_pickle.py(793B)
--------test_inner_staticmethod.py(7KB)
--------test_decorators.py(3KB)
--------compat.py(638B)
--------test_outer_staticmethod.py(6KB)
--------test_inner_classmethod.py(7KB)
--------test_arguments.py(883B)
--------test_copy.py(1KB)
--------test_monkey_patching.py(14KB)
--------test_post_import_hooks.py(2KB)
--------test_memoize.py(2KB)
--------requirements.txt(4B)
--------test_callable_object_proxy.py(2KB)
--------test_function.py(3KB)
--------test_synchronized_lock.py(7KB)
--------test_instancemethod.py(14KB)
--------test_attribute_wrapper.py(600B)
--------test_update_attributes.py(5KB)
--------test_nested_function.py(3KB)
----docs()
--------issues.rst(3KB)
--------decorators.rst(23KB)
--------benchmarks.py(1KB)
--------testing.rst(1KB)
--------conf.py(8KB)
--------index.rst(2KB)
--------wrappers.rst(17KB)
--------benchmarks.rst(9KB)
--------quick-start.rst(4KB)
--------changes.rst(24KB)
--------examples.rst(20KB)
--------_static()
--------_templates()
--------Makefile(7KB)
--------benchmarks.sh(2KB)
----LICENSE(1KB)
----.coveragerc(469B)
----tddium.yml(116B)
----src()
--------wrapt()
----MANIFEST.in(35B)
----setup.py(3KB)
----.travis.yml(898B)
----tox.ini(424B)
----blog()
--------06-maintaining-decorator-state-using-a-class.md(13KB)
--------08-the-synchronized-decorator-as-context-manager.md(9KB)
--------09-performance-overhead-of-using-decorators.md(9KB)
--------README.md(2KB)
--------05-decorators-which-accept-arguments.md(14KB)
--------10-performance-overhead-when-applying-decorators-to-methods.md(11KB)
--------12-using-wrapt-to-support-testing-of-software.md(16KB)
--------14-automatic-patching-of-python-applications.md(15KB)
--------03-implementing-a-factory-for-creating-decorators.md(14KB)
--------02-the-interaction-between-decorators-and-descriptors.md(12KB)
--------11-safely-applying-monkey-patches-in-python.md(11KB)
--------13-ordering-issues-when-monkey-patching-in-python.md(11KB)
--------07-the-missing-synchronized-decorator.md(18KB)
--------04-implementing-a-universal-decorator.md(24KB)
--------01-how-you-implemented-your-python-decorator-is-wrong.md(15KB)
----Makefile(217B)