wrapt==2.2.2
# Module for decorators, wrappers and monkey patching.
$ pip install wrapt
downloads/wk
110,210,399
license
version
2.2.2
python
>=3.9
What is wrapt?
wrapt is a Python package that provides utilities for creating decorators, wrappers, and proxy objects with consistent behavior across different Python versions and use cases. Developers use it to simplify the creation of function and class decorators, implement object proxies, and perform monkey patching while avoiding common pitfalls like incorrect introspection or thread-safety issues. It's particularly useful when you need reliable decorator implementation that preserves function signatures and metadata.
Keywords
#wrapper #proxy #decorator
Dependencies (2)