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 fastapi_exception import FastApiException

FastApiException.init()
FastApiException.init(translator_service=i18n_service) # pass translator_service if we integrate with i18n

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

Uploaded Source

Built Distribution

fastapi_exception-1.3.7-py3-none-any.whl (13.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastapi_exception-1.3.7.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.11.8

File hashes

Hashes for fastapi_exception-1.3.7.tar.gz
Algorithm Hash digest
SHA256 07ab4dc31cb2807df8011bb4933c146e5448f9f2e4591c14a00ba0df47cf24f2
MD5 48c81fea19dfbd436e71f8edbd0d9ae6
BLAKE2b-256 aaa758f09423725ca3143662fd3669a9d91d99c6acf30b10d345aa1a28824b51

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_exception-1.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 dcf0c5a1e44a661cc0ab546643ec07dfc52f133b3ba637b06c99d08e1f3b75b8
MD5 44e2c8108ed1593438f8af9416025a38
BLAKE2b-256 9748606b296c00c02d3dc1125230b2c6b73a4729a6f974cb4e684a1c4bce3435

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