Flask

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.

Alternatives to Flask

FastAPI
3

FastAPI

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.

Most people think this is a good alternative to Flask.

Suggested by FI5HDOG FI5HDOG
TOP PROS
Asynchronous support

One of the most exiting feature of FastAPI is its support for async/await. With FastAPI you can write asynchronous code out of the box. A welcoming feature to the Python framework ecosystem which is usually synchronous in nature.

Bullet Bullet
OAuth 2.0 support

FastAPI integrates well with OAuth 2.0 and external providers.

Cassie Cassie
GraphQL support with graphene-python

With FastAPI it's easy to build a GraphQL API with the help of the python library graphene-python.

Cassie Cassie
TOP CONS
Limited educational resources

Since FastAPI is relatively new framework, the community is quiet small. Even though FastAPI provides great documentation and a wide variety of example projects, it can be hard to find external educational information like books, course and tutorials.

Freddie Freddie
Django
3

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.

Most people think this is a good alternative to Flask.

Suggested by Freddie Freddie
TOP PROS
Security

Django takes security seriously and includes prevention mechanisms for common attack vectors like Cross-site request forgery (CSRF), SQL Injections and XSS attacks.

Freddie Freddie
Strong Community

Django has one of the biggest and friendliest communities in web development. If you have a question you can always find the answer on stackoverflow, tutorials, blog posts or in various community channels.

fossa fossa
Django Admin Panel

Django comes with an admin panel that is automatically created around your database and models. Allowing you to quickly add, delete and edit data in your database. This is handy from early on in development to management of production applications.

fossa fossa
TOP CONS
Bottle
2

Bottle

Bottle is a fast, simple and lightweight WSGI micro web-framework for Python. The framework can be used to create lean web applications with Python 2.7 and 3.x. Bottle is distributed as a single file module with no additional dependencies which makes it really easy to get started and later in the development-stage to manage.

Most people think this is a good alternative to Flask.

Suggested by fossa fossa
CherryPy
1

CherryPy

CherryPy is a free and open-source object-oriented HTTP and web framework written in Python. CherryPy allows developer to build web application the same way they would build any other object-oriented program. The design of CherryPy result in a simpler and faster development experience with more readable code. CherryPy is distributed under a BSD license and loved by many Python web developers.

Most people think this is a good alternative to Flask.

Suggested by Millen Millen
Tornado
1

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.

Most people think this is a good alternative to Flask.

Suggested by Millen Millen
Pyramid
1

Pyramid

Pyramid is a web framework written in Python that makes it easy to write applications for the web. With Pyramid, you can start small and finish big. Pyramid offers many features suited for writing both simple and complex software, while providing clear structure as your application grows. Since 1995, the Pyramid team has stayed devoted to professional craftmenship with a deep commitment to quality, which is seen throughout the Pyramid framework and the developer experience and workflow it provide for developers. Pyramid is released free and open-source under the Zope Public License (ZPL) Version 2.1.

Most people think this is a good alternative to Flask.

Suggested by fossa fossa
Amber Framework
0

Amber Framework

Amber is a web framework written in the programming language Crystal that makes building web applications fast, simple, and enjoyable. The Amber Framework provides productivity and happiness through a powerful CLI and familiar design patterns seen in Kemal, Rails, Phoenix and other popular frameworks. With the Amber Framework you can build blazing fast web applications that your users will love.

Suggested by Clarence Jackson Clarence Jackson
TurboGears
0

TurboGears

TurboGears is a Free Development & DevOps software for Python , Self-Hosted , .
Suggested by Yalla Yalla
Phoenix Framework
0

Phoenix Framework

At its core, Phoenix is a rock-solid web framework that improves the tried and true Model-View-Controller (MVC) architecture with a fresh set of functional ideas. Phoenix puts the focus on your business domain, bringing you immediate productivity and long-term code maintainability. Versatility at your fingertips. The Phoenix Framework also provides the concept and implementation of LiveView, allowing you as a developer to build real-time application using the power of elixir and websockets.

Suggested by PunkLee PunkLee
Ruby on Rails
0

Ruby on Rails

Ruby on Rails is an iconic, free and open source, server-side web application framework released under the liberal MIT license. The Ruby-based framework has helped millions of developer make their ideas a reality. The framework is opinionated and promotes best standards and practices for web development. When combining that with a community that is open, helpful and guiding, it's not hard to see why Ruby on Rails is one of the most loved web application frameworks to this day. Ruby on Rails is also used by industry giants like Basecamp, HEY, GitHub, Shopify, Airbnb, Twitch, SoundCloud, Hulu, Zendesk, Square, Cookpad.

Suggested by Panasea Panasea
Scalatra
0

Scalatra

Scalatra is a simple, accessible and free web micro-framework. It combines the power of the JVM with the beauty and brevity of Scala, helping you quickly build high-performance web sites and APIs.

Suggested by Zooey300 Zooey300
Zend Framework
0

Zend Framework

Zend Framework is a web application framework written in PHP that has an open architecture based on middleware or MVC which follows PHP-FIG standards. The framework is designed to follow the best security practices and stores passwords using bcrypt and encrypts data with AES-256. Zend Framework consists of multiple PHP packages that are designed to run separately or work interchangeably together. With Zend Framework you can develop web applications and services using PHP 5.6+, while writing 100% object-oriented code, broad spectrum of PHP specific features.

Suggested by Lorence Francis Lorence Francis

Do you know of more Flask Alternatives?

Similar Alternatives

Sort by

Flask Alternatives Flask Alternatives

In this list you find Flask Alternatives for various platforms. All alternatives are generated by people like yourself. No AI, machine learning or randomness is used to list and rank the best alternatives for Flask.

List Last Updated:

10/02/2021 (2 months ago)