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

Uploaded Source

Built Distribution

fastapi_exception-1.2.4-py3-none-any.whl (12.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fastapi_exception-1.2.4.tar.gz
Algorithm Hash digest
SHA256 f53b38b49a41f2d223fc5d7ae025a41bfe0081cc6603c17b054b7ff575c0d6b8
MD5 356be2ac8f8079a820471e985090ba76
BLAKE2b-256 42700960ad68522dcec7bb4d52f0046d3d81e720f37c004c6874d1bbab3d4abf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_exception-1.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c93fe19ad12b21326857da156945b38353c04803209cb499eb3c0068f610d25d
MD5 9e7167ad2fb0c29abba313dd3e292655
BLAKE2b-256 4c8442c0b54ec0ad776f1b04ca4523b0e17875631dacb16d16a17fea66409d59

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