Python Framework Guides

Each one of the language guides will take you through creating and deploying a simple application.

If you don’t see a framework supported here that you’d like to run on Fly.io, tell us in the Community.

Run a FastAPI app

FastAPI is a modern, fast (high-performance), web framework for building APIs with Python based on standard Python type hints.

Run a Flask App

Flask is a lightweight WSGI web application framework. It is designed to make getting started quick and easy, with the ability to scale up to complex applications.

Run a Streamlit app

Streamlit turns data scripts into shareable web apps in minutes. All in pure Python. No front‑end experience required.