Patrick's Software Blog

What is Werkzeug?

Notebook on a table with What is Werkzeug? written on the notebook, plus the logos for Werkzeug and Flask at the bottom of the page.

Introduction

This blog post explains what Werkzeug is and how Flask uses it for its core HTTP functionality. Along the way, you'll develop your own WSGI-compatible application using Werkzeug to create a Flask-like web framework!

This blog post explores the following functionality provided by Werkzeug (which Flask uses):

  • Request processing
  • Response handling
  • URL routing
  • Middleware
  • HTTP utilities
  • Exception handling
  • Development server (with hot reloading)

To help explain this functionality, a web application is built using Werkzeug:

https://gitlab.com/patkennedy79/werkzeug_movie_app

Werkeug Website Example listing 4 movies

The full article can be found on TestDriven.io: https://testdriven.io/blog/what-is-werkzeug/