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

Uploaded Source

Built Distribution

fastapi_exception-0.0.14-py3-none-any.whl (10.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastapi_exception-0.0.14.tar.gz
  • Upload date:
  • Size: 6.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-0.0.14.tar.gz
Algorithm Hash digest
SHA256 82f1849b1a416a7feed6ea33609d03203db9c73a50b19d234043d97e94edf87f
MD5 0980ca6c5f3024baaa5b099147b85a3c
BLAKE2b-256 3dc0dfd4819f9400a2b6504f14a35d1b3fa5bff227c6091eb65872096a77d282

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_exception-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 1ca9d315ef91ee95ed2f665cc41036d66ba1d4a6c01eed925c8e4e8ecacb6e1c
MD5 92c3d38782014e1ddf2fedefa14f1149
BLAKE2b-256 5d6f3e51fbf67590a50943a8b008e788786c2ffa83f3b63fe9b59d1b67937e24

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