Skip to main content

FastAPI Event

Project description

FastAPI Exception

Setup python environment

python3 -m venv venv

Active the python environemt

. venv/bin/activate

Install requirements

pip install -r requirements.txt

How to use

# Init FastAPI

# config/exception.py
from config.i18n import i18n_service
from fastapi_exception import FastApiException

FastApiException.init()
FastApiException.init(translator_service=i18n_service) # pass translator_service if we integrate with i18n

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_exception-1.3.2.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

fastapi_exception-1.3.2-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file fastapi_exception-1.3.2.tar.gz.

File metadata

  • Download URL: fastapi_exception-1.3.2.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.13

File hashes

Hashes for fastapi_exception-1.3.2.tar.gz
Algorithm Hash digest
SHA256 41594de4b201f032f407443885d08304d2bbb01d0670044d363de9beb51fe003
MD5 1e1023561be60ee1ac8c2741042370bd
BLAKE2b-256 5aa4600193ec8baa5c5c7870ddb89c20575144554465a89eae700d0f458a8da8

See more details on using hashes here.

File details

Details for the file fastapi_exception-1.3.2-py3-none-any.whl.

File metadata

File hashes

Hashes for fastapi_exception-1.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7f5f7af13dd857dc056e39e41243cec7553ac8caa0a0b5fdbafa0a18812cbb91
MD5 6454f69580956e84427b1d63f01a79e4
BLAKE2b-256 8bccaf853e403ebfe49afe9364c2c89af2561b28da727b87f48b416a94b0d412

See more details on using hashes here.

Supported by

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