Common utilities and handler code for Python web apps:
flask_util
: Flask decorators and handlers for caching, exception handling, regular expression URL routing, domain-wide redirects, rate limiting, headers, and serving XRD and JRD templates.logs
: Flask request handler that collects full trace logs from Google Cloud Logging, formats them nicely, and serves themmodels
: minor utility Model classes for the Google Cloud Datastore ndb librarytestutil
: misc utilities and helpers for unittest, mox, requests, and urllibutil
: wide variety of utilities for data structures, web code, etc.webmention
: Webmention endpoint discovery and sending
webutil is not developed, maintained, or distributed as a standalone package. Instead, it's distributed as part of the oauth-dropins library.
- Install with
pip install oauth-dropins
. - Supports Python 3.7+.
- Reference documentation.
webutil is public domain. You may also use it under the CC0 public domain dedication.