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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastapi_exception-0.0.12.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.12.tar.gz
Algorithm Hash digest
SHA256 e3beec55198be05e3708b62922b2e0114d9d43b6d56bf4c9fdc289cb173148cc
MD5 6107fc0392f4254d77905b69d01066c8
BLAKE2b-256 52d0f35e887a4347d9c912ec78f584e07eed4cf7b0ebfd745f4eec9a47dfe686

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_exception-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 d78aaa79b7ad2570b04aed9a23b822f7f46c001316b29f8d311e44944483f364
MD5 59219543f5c9f63e50b406de94c5c7de
BLAKE2b-256 b42dd54431fcf91e305497904c88cc2cd8b6872b58692153bdb0d08faa5fd56a

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