Baize is a powerful and elegant WSGI/ASGI framework/toolkit for Python, providing high-level abstractions for building HTTP applications. It supports both WSGI and ASGI interfaces, includes routing, request/response handling, middleware, and WebSocket support. The current version is 0.23.1, released with a focus on stability and performance. The library follows a semver-like release cadence, with minor releases every few months.
pip install baizeVerified import paths — ran on the pinned version, not inferred.
A minimal ASGI Baize application with a single route returning a JSON response.
Update imports to match new top-level exports; e.g., 'from baize import Request' instead of 'from baize.http import Request'.
Replace 'from baize.wsgi import Baize as WSGI' with 'from baize import Baize' and configure the backend using the 'backend' parameter.
Ensure route handlers are declared with 'async def' when using the ASGI backend (the default).
No dependency data recorded yet.