You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mesop allows you to integrate Mesop with other Python web servers like FastAPI or Flask by mounting the Mesop app which is a [WSGI](https://wsgi.readthedocs.io/en/latest/what.html) app.
4
+
5
+
This enables you to do things like:
6
+
7
+
- Serve local files (e.g. images)
8
+
- Provide API endpoints (which can be called by the web component, etc.)
9
+
10
+
## API
11
+
12
+
The main API for doing this integration is the `create_wsgi_app` function.
13
+
14
+
::: mesop.server.wsgi_app.create_wsgi_app
15
+
16
+
## FastAPI example
17
+
18
+
For a working example of using Mesop with FastAPI, please take a look at this repo:
0 commit comments