apifrom.main

Main module for APIFromAnything.

This module contains the main application factory and health check endpoints.

Overview

Functions

Functions

apifrom.main.configure_logging()[source]
Return type:

None

Configure logging for the application.

apifrom.main.create_app()[source]
Return type:

fastapi.FastAPI

Create and configure the FastAPI application.

returns:

The configured FastAPI application.

apifrom.main.get_config()[source]
Return type:

BaseConfig

Get the configuration for the current environment.

returns:

The configuration instance for the current environment.