Claude Discovery

← All discoveries

Vivid, blurred close-up of colorful code on a screen, representing web development and programming.
Photo by Markus Spiske on Pexels
library

Graham Dumpleton Is Writing a Wrapture Tutorial Almost Every Day

2026-09-11 ยท source:

Graham Dumpleton has been publishing near-daily tutorials for wrapture, his Python function-wrapping library, since its August 31st release, expanding beyond the original announcement.

What it is

A running series of tutorial posts covering wrapture, the Python monkey-patching library by wrapt author Graham Dumpleton, building on the wrapture entry covered here previously.

What it does

Each new post walks through a different practical use of wrapping functions and methods for tracing calls or substituting test doubles, expanding on the single-decorator pattern from the initial release.

Why it matters

Simon Willison flags it as underhyped relative to how useful it looks, so the growing tutorial backlog is worth a look before it gets buried under later posts.

Go to source →
pythontestingmonkeypatching