The goal of this project is to provide examples to integrate / use as sub application written in different frameworks with FastAPI.
| Framework | Mount | Support |
|---|---|---|
| Flask | ✅ | ASGI/WSGI |
| FastAPI | ✅ | ASGI/WSGI |
| Django | ✅ | WSGI |
| Starlette | ✅ | ASGI/WSGI |
| Bottle | ✅ | WSGI |
| Litestar | ✅ | |
| BlackSheep | ❌ | |
| Quart | ❌ | |
| Robyn | ❌ | |
| Falcon | ❌ | |
| HUG | ❌ | |
| Tornado | ❌ | |
| Sanic | 🔳 | |
| Pyramid | 🔳 | |
| webapp2 | 🔳 | |
| aiohttp | ||
| GradIO | ✅ | |
| PyWebIO | ✅ | |
| Flet | ✅ | |
| NiceGUI | 🚧 | |
| Reflex | 🚧 | |
| Streamlit | 🔳 | |
| Plotly Dash | 🔳 |
Emoji key:
- ✅: Accomplished
- 🔳: Not tried yet
- ❌: Tried and failed
- 🚧: In progress
⚠️ : Not sure if possible
Migration process is not likable but in some cases, necessary. a2wsgi offers us to migrate our web applications with ease.
- Docker
- Docker Compose
- Clone the repository
- Run
docker-compose up --build - Go to
http://localhost:8000/docsto see the API documentation - Enjoy!
If you would like to contribute to this project, please open an issue or submit a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
It's an open source project mainly for educational purposes. Feel free to use it however you want.