Overview of wrapt capabilities
developThe wrapt module is designed to provide transparent object proxies for Python, serving as a foundation for:
- Function wrappers and decorators: Creating robust decorators that preserve signatures and metadata.
- Monkey patching: Providing utilities like post-import hooks to safely patch code.
- Object proxies: Creating transparent proxies for Python objects.
To maintain high performance, wrapt uses a C extension for critical components, with an automatic fallback to a pure Python implementation if a compiler is unavailable.