Flask logo

Flask

A microframework for Python based on Werkzeug, Jinja 2 and good intentions
18.9K
16K
+ 1
80

What is Flask?

Flask is intended for getting started very quickly and was developed with best intentions in mind.
Flask is a tool in the Microframeworks (Backend) category of a tech stack.
Flask is an open source tool with GitHub stars and GitHub forks. Here’s a link to Flask's open source repository on GitHub

Who uses Flask?

Companies
1192 companies reportedly use Flask in their tech stacks, including Netflix, reddit, and CRED.

Developers
17108 developers on StackShare have stated that they use Flask.

Flask Integrations

Sentry, Strapi, Bugsnag, Airbrake, and KeyCDN are some of the popular tools that integrate with Flask. Here's a list of all 25 tools that integrate with Flask.
Pros of Flask
14
Flexibilty
10
For it flexibility
9
Flexibilty and easy to use
8
Flask
7
User friendly
6
Secured
5
Unopinionated
2
Secure
1
Powerful
1
Rapid development
1
Beautiful code
1
Easy to get started
1
Orm
1
Easy to setup and get it going
1
Easy to use
1
Documentation
1
Python
1
Minimal
1
Lightweight
1
Easy to develop and maintain applications
1
Not JS
1
Perfect for small to large projects with superb docs.
1
Easy to integrate
1
Speed
1
Get started quickly
1
Customizable
1
Simple to use
0
Open source
0
Well designed
0
Productive
0
Awesome
0
Expressive
0
Love it
Decisions about Flask

Here are some stack decisions, common use cases and reviews by companies and developers who chose Flask in their tech stack.

Needs advice
on
FlaskFlask
and
ReactReact

Hello all! I am new here. For one of my personal projects, I am trying to build an app around an ML model. I have created an API for the ML model using Flask. How do I proceed from here? It is a model that classifies the emotion into one of 7 categories, based on the textual input given by the user. Then, from a database of songs that are tagged with the appropriate emotion they convey, three random songs are selected and the links are provided to the user. I want to build an app around this. I also want to be able to get feedback from the user and incorporate it into the ML model to train it further. I am capable of using React for the frontend part.

See more
Needs advice
on
DjangoDjango
and
FlaskFlask

I'd like to make a web app using Python as a primary language and PostgreSQL for data management. Using those two I can do all the back-end and control functionality, but presenting it as a webpage is still a slight challenge.

I could do everything with pure HTML5, but I would like to try a framework to speed up the process and make it more maintainable. Django and Flask seem the two most popular frameworks for Python web development, but I'd like to hear your opinions on the matter (I'm also up to trying any other Python-based framework that is an 'industry standard if there is such a thing).

I intend to do styling myself, and being able to create dynamic and responsive websites is a must-have.

Bonus points for tips on what web server environment to use. (I've done Apache2 in the past but I think it may be outdated)

See more
Needs advice
on
FlaskFlask
and
Spring BootSpring Boot

I have to use one of these two frameworks for a test in one week. I have an extremely small amount of exposure to Spring Boot and no exposure to Flask. Which should I learn?

See more
Muhammad Waleed
Community & Content Operations · | 3 upvotes · 157.3K views
Needs advice
on
Django REST frameworkDjango REST framework
and
FlaskFlask

Hey! So I am planning to make an e-commerce website with React Native as my frontend technology stack and MongoDB as my database. I was wondering what will be the best REST framework to use for my backend that will simply serve the frontend. Is Django rest framework a good option or should I go with Flask? I am currently leaning towards flask as the development team is well versed in it. Please help!

See more
Nikola Tokic
Needs advice
on
FlaskFlaskconnexionconnexion
and
QuartQuart

I'm considering moving from Flask to Quart, does anyone have some experience with this migration?

I expect possible problems with connexion which we use as OpenAPI specification.

Would be good if someone can point downsides of moving to the Quart framework so I can double-check if my plan is worth doing.

Other libs and tools used in the project: SQLAlchemy, alembic, PostgreSQL, Datadog

cons for now:

  • Refactoring uncertainty (not sure how big of a task is it)
  • Connexion might not work with Quart (moving to another library)
  • ...
See more
Arun Nambiar
Senior Systems Engineer at Infosys · | 2 upvotes · 84.5K views
Needs advice
on
GunicornGunicornwaitresswaitress
and
uWSGIuWSGI

I want to choose one of the WSGI servers to be used along with Flask. Later on, I will be dockerizing the app. Which one would be the best one out of these?

See more

Blog Posts

Flask Alternatives & Comparisons

What are some alternatives to Flask?
Django
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
Tornado
By using non-blocking network I/O, Tornado can scale to tens of thousands of open connections, making it ideal for long polling, WebSockets, and other applications that require a long-lived connection to each user.
ExpressJS
Express is a minimal and flexible node.js web application framework, providing a robust set of features for building single and multi-page, and hybrid web applications.
Node.js
Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time applications that run across distributed devices.
React
Lots of people use React as the V in MVC. Since React makes no assumptions about the rest of your technology stack, it's easy to try it out on a small feature in an existing project.
See all alternatives

Flask's Followers
15964 developers follow Flask to keep up with related blogs and decisions.