Automating & delivering reports

Excel in web apps

Download endpoints and uploads in Flask, FastAPI and Django, built in memory.

Serving Excel from a web app: the request triggers a query, the workbook is built in a BytesIO buffer, and the response streams it with the right headers.Serving Excel from a web app: the request triggers a query, the workbook is built in a BytesIO buffer, and the response streams it with the right headers.built in memory, streamed to the browserGET /exportFlask · FastAPIDjangoBytesIOworkbook in memoryno temp filesDownloadContent-Dispositionthe xlsx MIME type

Start with the full guides

The long-form treatment of excel in web apps, with the reasoning the shorter pages assume.

Step-by-step how-tos

One task each, with code you can copy, run and adapt.

Follow it through a track

Prefer an ordered route? These tracks cover excel in web apps along the way, in the order that builds on itself.

Related topics

Subjects that keep turning up on the same pages as this one, most overlap first.

Excel in web apps is part of Automating & delivering reports.