wrapt
AssessTools
A Python library for monkeypatching and function wrapping used as inspiration for Wrapture.
Why it's here
Placed in Assess: 1 article(s) of evidence from 1 source(s), led by open-source activity, with 0 in the last 30 days. Confidence 24%. Low accumulated evidence, so it defaults conservatively pending more signal.
Evidence (1)
- 4Simon Willison·8/31/2026open_sourceWrapture Adds Testing and Tracing for Python Functions
Wrapture is a new Python library from Graham Dumpleton that extends monkeypatching ideas to support both testing and tracing. It can wrap functions or methods to observe calls, override return values, and integrate with OpenTelemetry, including a configuration-driven tracing setup. Graham also disclosed that the project’s code and documentation were written with help from an AI assistant under his direction.