File size: 554 Bytes
1ce499f
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from pydantic_settings import BaseSettings, SettingsConfigDict
class Settings(BaseSettings):
    model_config = SettingsConfigDict(env_file=".env", extra="ignore")
    APP_NAME:str="Space Risk Intelligence API"
    APP_ENV:str="dev"
    DATABASE_URL:str="sqlite:///./space_risk.db"
    CELESTRAK_URL:str="https://celestrak.org/NORAD/elements/gp.php?GROUP=active&FORMAT=json"
    ALLOWED_ORIGINS:str="http://localhost:5173,http://localhost:3000"
    TOP_K_ALERTS:int=25
    MAX_OBJECTS_PER_RUN:int=600
    MAX_CANDIDATE_PAIRS:int=2500
settings=Settings()