Deploying the Educates workshop platform, what interactive workshop content can do, and using an AI to write and review workshops without producing slop.
All Guides
Back to HomeBrowse all 8 topic guides covering various aspects of development, deployment, and best practices.
Why the usual Python decorator pattern is wrong and how to implement a better one, and the problems of monkey patching: applying patches safely, ordering, and automatic patching.
Getting mod_wsgi installed and pointed at the right Python, mod_wsgi-express, choosing between embedded and daemon mode, debugging under Apache, and free threading in 6.0.0.
The parts of the WSGI specification people skip over: close() obligations, the write() callable, file_wrapper, streaming responses, and monitoring what an application really does.
Recipes and features of the wrapt package: stateful decorators, per-instance caches, lazy imports and patching, and how an object proxy behaves when the object resists.
Building a multi user workshop environment on Kubernetes, using JupyterHub to spawn an interactive terminal, workshop notes and a dashboard for each attendee.
Posts on wrapture, the Python package for monkey patching, testing and tracing built on wrapt. What it is, how it is used in unit tests, and how the same bindings trace a running application.
Running Python inside Docker images and containers: custom Python versions, virtual environments, hosting and proxying WSGI applications, and the user and process ID issues that bite.