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

Uploaded Source

Built Distribution

fastapi_exception-0.0.9-py3-none-any.whl (10.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastapi_exception-0.0.9.tar.gz
  • Upload date:
  • Size: 6.3 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.9.tar.gz
Algorithm Hash digest
SHA256 2a46b54cd990a9c73f3cd1d6c069ed1f50cdee9bd5d3aa58febd3ed4ff93ffe7
MD5 bed7965343c1233b81e0d443e44371ed
BLAKE2b-256 5fcd84ac8611c80eb6a75cdac48fa964f4aad46ef847b31dc7598ddd7f56840f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_exception-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 6ed7a733cde555b6c211d5b7539771225140e88d1af037ec2fbced4981b25bb5
MD5 a5eb0a091763900a5e7f03a816d73bc5
BLAKE2b-256 7f5a0f247b684b14559cb18cc53a675f5c070f55cd4846d9fa923e5f0264a1fd

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