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 bootstraps import app
from fastapi_exception import FastApiException

FastApiException.init(app, i18n_service)

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

Uploaded Source

Built Distribution

fastapi_exception-0.0.7-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for fastapi_exception-0.0.7.tar.gz
Algorithm Hash digest
SHA256 bb07b8375136ec490772a75e0eb0de3d635cb25cc6d627ab460cba2e44ab09ae
MD5 7e929ba9860f5fb88f420ed8f4b9ec51
BLAKE2b-256 11d1b6edea9cff8795ace8534642d2193fb4bb3fe9f24fb8fbfcbff4e298b0e2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_exception-0.0.7-py3-none-any.whl
Algorithm Hash digest
SHA256 cb622f1c7d7c4b7d579de9db664522e79df576740e3f57449eb6f874c6b6ca1c
MD5 1de6187ac9eb43b7837b4363652a333b
BLAKE2b-256 ef16e256f27008b57d92bb311361ed6600c6221856042d7c7058d11edfeb95c0

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