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

  1. Set global app env
from fastapi import FastAPI
from fastapi_global_variable import GlobalVariable

app = FastAPI(title="Application")

GlobalVariable.set('app', app)
  1. Init FastAPI
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.4.tar.gz (6.0 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: fastapi_exception-0.0.4.tar.gz
  • Upload date:
  • Size: 6.0 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.4.tar.gz
Algorithm Hash digest
SHA256 a65d34cccaf7e26a255c8d4d796bfe06cfb8507ad611d6ca1f5ca2cff789a755
MD5 4b960711dd140bd6e2dec5908727a63d
BLAKE2b-256 8f2b557c29e5b3c0f514dbfa2cb7d1ed5015ad775e16e5cab2f20567bdf2ba68

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for fastapi_exception-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 d4650d78cb5b16a4fc030ca9bea53aace225c2e166fbfe389c58bc597a65db31
MD5 2fdd623b809b9b43c986166eb994e6ba
BLAKE2b-256 84c5e855c1939ec3f6286a9ce7f87f605b13d18eaf5a555289c39280c16d80c0

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