Initial commit

This commit is contained in:
chk
2026-06-08 19:50:36 +02:00
commit 53db55ba36
39 changed files with 5860 additions and 0 deletions

12
scripts/api/__init__.py Normal file
View File

@@ -0,0 +1,12 @@
"""scripts.api — FastAPI REST-Service."""
from .server import create_app
def start_server(
robot_json=None,
host: str = "0.0.0.0",
port: int = 8080,
) -> None:
import uvicorn
app = create_app(robot_json=robot_json)
uvicorn.run(app, host=host, port=port)