Graham Dumpleton introduces wrapture, a new Python library extending his wrapt monkeypatching work to combine testing and tracing capabilities. The project offers an alternative to unittest.mock with built-in OpenTelemetry support and a configuration-based approach for tracing existing code without modifying it. Notably, this was the first fully AI-assisted project by Dumpleton, who emphasizes it was carefully engineered rather than casually generated.
Background
Graham Dumpleton is a well-known figure in the Python ecosystem, creator of wrapt, mod_wsgi, and New Relic's Python agent. Python observability and testing tooling remains an active area of development with ongoing interest in OpenTelemetry integration.
- Source
- Simon Willison
- Published
- Sep 1, 2026 at 07:59 AM
- Score
- 6.0 / 10