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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastapi_exception-0.0.6.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.6.tar.gz
Algorithm Hash digest
SHA256 5a2e38fd6476397cb0b8d0e45c79860edd530bf913d0a4201a6d0622c1e251b0
MD5 133050ccb598f1df0f793b87b4d7b694
BLAKE2b-256 813038386ed3005408dfde561d64256afc7816789d64a8bd721a276d05cec75d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_exception-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 5429f7cc48bfb6e4d1d10cc6a2f655bb1a54a02800892e0f6f6c3efbbb70696e
MD5 4b2e640927f3857f1a9d5d71858a2021
BLAKE2b-256 803687f4be0de3109940203b0fc3b675edde373d18ad590c5a3c19c48777e8fd

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