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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastapi_exception-1.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 5a870c6a20997bee44cae9389cf7f544db4f9f0d033dbb602e3d727abd98044c
MD5 018e7613a07d959fcdd9c564940b6804
BLAKE2b-256 05902f3578dcf088dd70fa3bbd08212d83763f9afabca4b2d64f42cfabc7fb17

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_exception-1.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6d949fd668eb8464e39c8326d7fa0c0f55a386341c7fa7938f2d4edbd8bda4f7
MD5 a30bc3e284d872d2c22fcd374b381440
BLAKE2b-256 3f957c8148963469a5f3cf0bbdc7e4e95768fe13d6e87f80669058f30f0b3d91

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