Skip to content

dusktreader/fastapi-buzz

Repository files navigation

Latest Version Python Versions Build Status Documentation Status

fastapi-buzz

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

About

py-buzz bindings specifically for FastAPI applications

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors