Adisri99's picture
Upload 26 files
1ce499f verified
raw
history blame contribute delete
554 Bytes
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()