Iteration 1: - Dark theme with 3-way toggle - Dynamic heatmap gradient (blue→red) - Radius up to 100km - Save & Calculate workflow Iteration 2: - Terrain overlay toggle - Batch height operations - Zoom-dependent heatmap rendering Infrastructure: - Backend FastAPI on 8888 - Frontend static build via Caddy - Systemd services - Caddy reverse proxy integration
14 lines
418 B
Python
14 lines
418 B
Python
try:
|
|
from fastapi_cli.cli import main as cli_main
|
|
|
|
except ImportError: # pragma: no cover
|
|
cli_main = None # type: ignore
|
|
|
|
|
|
def main() -> None:
|
|
if not cli_main: # type: ignore[truthy-function]
|
|
message = 'To use the fastapi command, please install "fastapi[standard]":\n\n\tpip install "fastapi[standard]"\n'
|
|
print(message)
|
|
raise RuntimeError(message) # noqa: B904
|
|
cli_main()
|