Interlude – Werkzeug

We've spoken about Werkzeug a few times during the course of this book but we haven't really explained what it is, why we use it, or why it's useful. To understand Werkzeug, we first need to know why it exists. For this, we will need to understand the origins of the Python Web Server Gateway Interface specification, most commonly abbreviated as WSGI.

Today, choosing a Python web application framework is a relatively simple matter of preference: most developers choose a framework based on a previous experience, necessity (for example, one that is designed for an asynchronous request processing such as Tornado), or some other quantifiable or unquantifiable criteria.

Several years ago, however, the choice of an application framework ...

Get Flask Blueprints now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.