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

Uploaded Source

Built Distribution

fastapi_exception-1.1.1-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastapi_exception-1.1.1.tar.gz
  • Upload date:
  • Size: 9.6 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.1.1.tar.gz
Algorithm Hash digest
SHA256 3ca6a915d604df5c538efaf17ff65308b6aecb4f6435130a65dcb65851ed1b6d
MD5 b9f87476467e0514ad5ab192155ebab9
BLAKE2b-256 11c1d8d52484316b0b9db1d319813191d12104c5ff9b2fbc6356558f50b8d2e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_exception-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c450534e65dc2b8123ebe593ca17429dd1a89b1f701f4bf45f2b23c696803137
MD5 082209cae1725266343b6f8c9657713b
BLAKE2b-256 ae6ad7ab258ee3c03e292b370d4d20e2c941d56f5039756dadfbdf86afea06db

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