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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastapi_exception-0.0.16.tar.gz
  • Upload date:
  • Size: 6.8 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.16.tar.gz
Algorithm Hash digest
SHA256 f6df1bf7836db89974f581a9fd5e8e6539b01b3c3ad4586acd34850bcf21a059
MD5 b441b980df2ed6422bf949140f9a8935
BLAKE2b-256 57f57b3f1f50f822b7cd9cad189ae9b2b5567b2a7d9842048aca2ddf9440ed37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_exception-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 c52b91c7077a42afa803983be0581f416a5f8696665cc036c72edfbc54c8dd05
MD5 feda6c4b5f8bf323b618312aed99f973
BLAKE2b-256 d508429aacc1b9e51752522927c49297d59a277a7ca8585dfa1d32194f561ea5

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