Framework Detection (Advisory)
Framework detection is advisory only. The deployment never blocks because of an unknown framework.
What to check
- Confirm Python project — at least one of:
requirements.txtpyproject.toml*.pyfiles in workspace root
- Scan dependencies in
requirements.txtorpyproject.toml:
| Token (case-insensitive) | Detected framework |
|---|---|
flask, Flask | flask |
django, Django | django |
fastapi | fastapi |
gunicorn (alone, no flask) | wsgi-generic |
uvicorn (alone, no fastapi) | asgi-generic |
| None of the above | unknown |
- Locate the WSGI / ASGI entry point (best-effort):
- Flask common:
app.pyexportingapp,application.py,wsgi.py - Django common:
<project>/wsgi.py - FastAPI common:
main.pyexportingapp
- Flask common:
- Record findings in your working memory so Step 5 (startup) can use them.
Outcomes
| Detection | Step 5 behavior |
|---|---|
flask | Skip startup auto-config. Oryx auto-detects Flask and starts it. |
django | Skip startup auto-config. Oryx auto-detects Django via wsgi.py and starts it. |
fastapi (any Python version) | Always auto-set startup: python -m uvicorn main:app --host 0.0.0.0 (replace main:app with the discovered entry point if different — e.g., app.main:app). The skill does not rely on Oryx FastAPI auto-detection. |