FastAPI Alternatives

FastAPI Alternatives for Self-Hosted

A modern, fast and highly-performant web framework written in Python. With FastAPI developers can quickly build APIs with performance on par with Node.js and Go thanks to Starlette and Pydantic.

.. read more.
According to people there are many software similar to it, and the best alternative to FastAPI is Flask which is both free and open source. Other highly recommended applications include Falcon (Free) , Tornado (Free) and Django (Free).
In total people have suggested 27 alternatives to FastAPI that share similarities by use case and feature set. In this list with its current filter selection you'll find 19 FastAPI alternatives for Self-Hosted.

Flask

Flask is a micro framework framework written in Python that can be used to build APIs, web services and web applications. Flask is designed from the bottom up to be extremely minimal and easy to use, where your whole application can fit into one single Python file. The framework includes no database abstraction layer, form validation, or any other components, by design. However pre-existing third-party libraries provide common functionality needed to build production ready applications and services.

Free & Open Source
👍 Most people think Flask is a good alternative to FastAPI.

Falcon

The Falcon Web Framework is a free and open-source application framework written in Python.

Free & Open Source
👍 Most people think Falcon is a good alternative to FastAPI.

Tornado

A free and open-source web framework and asynchronous networking library written in Python. Tornado was originally developed at FriendFeed, and is using a non-blocking network I/O that can be used to scale applications to tens of thousands of concurrent connection. Tornado is a great framework for applications that require long-lived connections between users, and for WebSockets or long polling.

Free & Open Source
👍 Most people think Tornado is a good alternative to FastAPI.

Django

Django is a high-level Python web development framework used for building web application at scale with speed. The framework adhere to a clean and pragmatic design that lets developers develop rapidly. Django ships as a "batteries included" framework and contains many of the features needed for most web applications such as an admin panel, an ORM and templating language. It takes much of the hassle out of web development and lets developers focus on writing their application instead of focusing on authentication, authorization and security.

Free & Open Source
👍 Most people think Django is a good alternative to FastAPI.

Laravel

Laravel is an extremely popular, free and open source web application framework with expressive, elegant syntax. The framework is written in PHP and provides a developer experience that rival most web application frameworks on the market today. The structure and built-in features of Laravel allows developers to build web applications faster. Instead of setting up tooling and configuring settings, developers can focus on the important task at hand, making their ideas into reality.

Free & Open Source
👍 Most people think Laravel is a good alternative to FastAPI.

Symfony

Symfony is a reusable set of standalone, decoupled and cohesive PHP components that solve common web development problems. Instead of using these low-level components, you can use the ready-to-be-used Symfony full-stack web framework, which is based on these components, or you can create your very own framework. Symfony is released as a free and open source framework under the MIT License.

Free & Proprietary

Meteor

With Meteor you can build web, mobile and desktop apps quickly. Meteor is a free and open-source JavaScript framework that is designed to provide developers with the necessities to build applications by writing less code. Over half a million developers around the globe has chosen Meteor as their go-to framework for building scalable JavaScript applications.

Free & Open Source

Sails.js

Sails.js is a JavaScript framework that makes it easy to build custom, enterprise-grade Node.js apps. It is designed to resemble the MVC architecture from frameworks like Ruby on Rails, but with support for the more modern, data-oriented style of web app development. The framework is suited for building applications with realtime features.

Free & Open Source

Play Framework

A framework designed to make it easy to build web applications with Java & Scala.  The Play Framework is is based on a lightweight, stateless, web-friendly architecture that follows a model-view-controller (MVC) pattern. While providing predictable and minimal resource consumption (CPU, memory, threads) suitable for highly-scalable applications.  Play is written in Scala and can be used for all programming languages that can be compiled into JVM bytecode.

Free & Open Source

Koa

Koa is a free and open-source, expressive HTTP middleware framework for Node.js. Koa provides a great developer experience that makes writing web applications and APIs more enjoyable. Koa's middleware stack flows in a stack-like manner, allowing you to perform actions downstream then filter and manipulate the response upstream. Only methods that are common to nearly all HTTP servers are integrated directly into Koa's small codebase. This includes things like content negotiation, normalization of node inconsistencies, redirection, and a few others.

Free & Open Source

web2py

Web2py is a free and open-source web application framework written Python. With Web2py, developers can build dynamic applications with ease. The framework ships with "batteries included" for fast multi-threaded web server, SQL database and web-based interface. Web2py also ships with a web-based IDE that can be used to manage your application using your browser. A single instance can also run multiple web applications using different databases. Web2py free of charge under the LGPLv3 License.

Free & Open Source

RedwoodJS

RedwoodJS is a free and open-source fullstack JavaScript framework for the JAM stack. The framework is highly opinionated and utilize the best practises for building fullstack web applications with React, GraphQL, Prisma and relational databases. Redwood is designed to be deployable completely to the Edge via CDNs and serverless functions distributed everywhere. The structure and tools provided by RedwoodJS let's you get up and running quickly, so that you can see your application go from idea to reality.

Free & Open Source

How Are These FastAPI Alternatives Generated?

Information found on this page is crowd-sourced by the community and contains the most agreed upon FastAPI alternatives for Self-Hosted. You can use this information to find similar software to FastAPI for specific platforms with various pricing options and licenses. Anyone that have previously used FastAPI can suggest alternatives, vote on the accuracy of other users claims, and help more people in the process of doing so.

This page was last updated on Sun 23 Jan 2022 (3 weeks, 1 day ago).