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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fastapi_exception-1.3.6.tar.gz
Algorithm Hash digest
SHA256 8c86e0224afec4e0c67ebf10d6cae8cbc0ba3e75b1885117bca0e3f8d9ccc47c
MD5 c3b34cce876416c1432e9033a892e2cb
BLAKE2b-256 94ce8ce35c8ce4d53227ed9eafc1f645641cef0b7119aed44f09cc0d50a3f3d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_exception-1.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 76e2b5e6c90c87a20eb2c7a54cee504621f91f88da76e32189a5646fac7c567a
MD5 0777a685f18e967f216a46e67926f57f
BLAKE2b-256 6d78ee131f4965344502a170b1c35ea9350182b7676f578981e43ec16cec966e

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