Spaces:
Sleeping
Sleeping
Download app/__init__.py from Alpha-Team/CyberArena: direct link, hf CLI and curl.
- Browser
- Download file 596 Bytes
-
https://huggingface.co/spaces/Alpha-Team/CyberArena/resolve/main/app/__init__.py
- Command line
-
hf download hf://spaces/Alpha-Team/CyberArena/app/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/Alpha-Team/CyberArena/resolve/main/app/__init__.py
596 Bytes
| """CyberArena backend package. | |
| This package organises the FastAPI backend into focused subpackages: | |
| app.core → constants, helpers (no I/O) | |
| app.services → business logic that talks to Supabase / AI providers | |
| app.generators → per-challenge-type AI pool generators | |
| app.sandbox → in-process terminal sandbox for the OS simulator | |
| app.api → FastAPI routers mounted under /api/... | |
| The actual FastAPI ``app`` is built in :mod:`app.main` and re-exported as | |
| ``app.main:app`` so the top-level ``main.py`` stays a 5-line entry. | |
| """ | |
| __all__ = ["main"] | |