Skip to main content

Extra bindings on py-buzz specifically for fastapi apps

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastapi_buzz-0.1.0.tar.gz (81.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastapi_buzz-0.1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file fastapi_buzz-0.1.0.tar.gz.

File metadata

  • Download URL: fastapi_buzz-0.1.0.tar.gz
  • Upload date:
  • Size: 81.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.14

File hashes

Hashes for fastapi_buzz-0.1.0.tar.gz
Algorithm Hash digest
SHA256 98244885d550a12003b8b06eec6d85696395a0957106076561cb3902f8759f09
MD5 85c64b709d7a5cc4c835ca359a0952ea
BLAKE2b-256 1d7150eef948b92abfb445247d21c4a9733a1484df399cce5a099b4c7ff18af8

See more details on using hashes here.

File details

Details for the file fastapi_buzz-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for fastapi_buzz-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2e694f65fdd4b8a7bc85c1c9ca2394f2aca8c9d4b21cf24040f36ef0e99bdc7c
MD5 6df2f6454c500c9e6e25fa028f894e64
BLAKE2b-256 22a7ef65b65f80abd498e8e2b1558e9704d6d8acbbc78fbf6de75d111c48239a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page