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.8.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

fastapi_exception-1.3.8-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastapi_exception-1.3.8.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.6

File hashes

Hashes for fastapi_exception-1.3.8.tar.gz
Algorithm Hash digest
SHA256 ab2125783cf1b08616d7fe488580352f345a319ffe063d17eceed91f98d1ffae
MD5 b7e3bba54189b503762773ad58d5e426
BLAKE2b-256 124dca40f40f0698a2884e1abd8250ad569a6befa6a3748c9f38822dbf970e24

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_exception-1.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 f1e684b3c5e1958ebd058c6c6ec759fb14ec00ee66d44dfafc9746a2835e355f
MD5 8631b0f23fe44da07977c974db1abba3
BLAKE2b-256 5ecbb1b0bfa6f298f7369d9e792bc993d0d626b1c0179fb26b5cbd4f91c4e2bc

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