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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastapi_exception-1.2.3.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.3.tar.gz
Algorithm Hash digest
SHA256 734d3547b672fbc15705dc2e2f1b003240c699025a244e1645c3014c37a9ac66
MD5 c2f88547226545117caf33bb4b6a3325
BLAKE2b-256 6a05cc90a7e5afd5e135b4208386d0698eff9bc4be6179321eb0ba3d8c3bf536

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_exception-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 82fb07d3d1c196d5d0bb09bf79053c7484401d00f3375360bdf6284d23198712
MD5 fd07a750c42325c7dc89200bc475a2a3
BLAKE2b-256 2f8c7a14905dac49f5d0262a5856f40e655d48af7ef7defe8ce3781e23d68dc1

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