Skip to content

fastapi-buzz

py-buzz bindings for FastAPI applications

· 1 1

Created: 2025-04-13 · Last Released: 2025-04-13 · Version: 0.1.0


py-buzz bindings specifically for FastAPI applications

This is an extension of the py-buzz package.

It adds extra functionality especially for FastAPI. Predominately, it adds the ability to register an error handler with FastAPI that will automatically package any handled FastAPIBuzz exceptions in a nicely formatted JSON response with the appropriate status_code and message. There is also a method to package a FastAPIBuzz error into a response with some control over what is included in the error body.

Super-quick Start

Requires: Python 3.10 to 3.13

Install through pip:

pip install fastapi-buzz

Minimal usage example: examples/basic.py

Documentation

The complete documentation can be found at the fastapi-buzz home page