The repo currently hosts learnpython.org, learn-rust, learn-go, etc. There is no FastAPI tutorial yet, and FastAPI is one of the most-used Python web frameworks today.
I am preparing a PR that adds a new `learnfastapi.org` tutorial site (6 chapters: Hello World, Path Parameters, Query Parameters, Request Body, Response Models, Error Handling). Every chapter uses `fastapi.testclient.TestClient` so requests are simulated inline in the IDEOne sandbox — no real server is started, the existing `test_output_contains` harness catches stdout exactly as it does today.
For the chapters to run end-to-end against IDEOne, the Python execution image needs these packages:
- `fastapi` (>=0.115)
- `pydantic` (>=2.0) — already implicit if `fastapi` is installed via pip
- `starlette` — implicit dep of fastapi
- `httpx` — required for `fastapi.testclient.TestClient`
These are all pure-Python wheels with no system dependencies. `pip install fastapi[standard]` covers everything.
What I'm asking: confirm the IDEOne image can include these, or point me at where the image / package list is configured so I can include it in the PR. Without them, the chapters are still useful as static documentation, but the interactive "Run" button would fail.
Happy to adjust the chapters if there are package constraints I should know about.
The repo currently hosts learnpython.org, learn-rust, learn-go, etc. There is no FastAPI tutorial yet, and FastAPI is one of the most-used Python web frameworks today.
I am preparing a PR that adds a new `learnfastapi.org` tutorial site (6 chapters: Hello World, Path Parameters, Query Parameters, Request Body, Response Models, Error Handling). Every chapter uses `fastapi.testclient.TestClient` so requests are simulated inline in the IDEOne sandbox — no real server is started, the existing `test_output_contains` harness catches stdout exactly as it does today.
For the chapters to run end-to-end against IDEOne, the Python execution image needs these packages:
These are all pure-Python wheels with no system dependencies. `pip install fastapi[standard]` covers everything.
What I'm asking: confirm the IDEOne image can include these, or point me at where the image / package list is configured so I can include it in the PR. Without them, the chapters are still useful as static documentation, but the interactive "Run" button would fail.
Happy to adjust the chapters if there are package constraints I should know about.