Download app/config.py from Adisri99/Space-Risk-Intelligence-API: direct link, hf CLI and curl.
- Browser
- Download file 554 Bytes
-
https://huggingface.co/spaces/Adisri99/Space-Risk-Intelligence-API/resolve/main/app/config.py
- Command line
-
hf download hf://spaces/Adisri99/Space-Risk-Intelligence-API/app/config.py
-
curl -L -o config.py https://huggingface.co/spaces/Adisri99/Space-Risk-Intelligence-API/resolve/main/app/config.py
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() | |