Skip to main content

Preconfigured FastAPI application

Project description

Installation

pip install zimran-fastapi

Usage

from zimran.config import CommonSettings
from zimran.fastapi import create_app


class Settings(CommonSettings):
    pass


settings = Settings()

app = create_app(settings.environment)
from fastapi import Depends, Response
from zimran.fastapi.dependencies import get_user_id


async def handler(user_id: int = Depends(get_user_id)) -> Response:
    pass

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

zimran_fastapi-2.1.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zimran_fastapi-2.1.0-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file zimran_fastapi-2.1.0.tar.gz.

File metadata

  • Download URL: zimran_fastapi-2.1.0.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for zimran_fastapi-2.1.0.tar.gz
Algorithm Hash digest
SHA256 278e4d4506213c7b4144afb2f5b8a3486c9c8786638fb604896613ed2b69d04c
MD5 eccdef81302448326ae59c2799f59652
BLAKE2b-256 2f1510070fef92222bd4da938c5a653384cf210d6658b40439fe2a545b892073

See more details on using hashes here.

File details

Details for the file zimran_fastapi-2.1.0-py3-none-any.whl.

File metadata

  • Download URL: zimran_fastapi-2.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for zimran_fastapi-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 84f415e586a5d3e38277b292bdaaf1d28ebddf44f44084c16762a6f77b5aee5c
MD5 baca5dec8d03d4505d9ae389bc7cb7f0
BLAKE2b-256 2f0c566ebf7ac1ec15d6ebeafd8602d79511e735fc65d8b2094ec3c9f7b323b8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page