Flask logo


A microframework for Python based on Werkzeug, Jinja 2 and good intentions
+ 1

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?

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

15438 developers on StackShare have stated that they use Flask.

Flask Integrations

Python, Sentry, Bugsnag, Strapi, and Airbrake are some of the popular tools that integrate with Flask. Here's a list of all 23 tools that integrate with Flask.
Pros of Flask
Open source
Easy to use
Easy to setup and get it going
Well designed
Easy to develop and maintain applications
Easy to get started
Beautiful code
Rapid development
Simple to use
Get started quickly
Love it
Easy to integrate
Perfect for small to large projects with superb docs.
For it flexibility
Flexibilty and easy to use
Not JS
User friendly
Decisions about Flask

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

Praveen Mooli
Engineering Manager at Taylor and Francis · | 18 upvotes · 2.6M views

We are in the process of building a modern content platform to deliver our content through various channels. We decided to go with Microservices architecture as we wanted scale. Microservice architecture style is an approach to developing an application as a suite of small independently deployable services built around specific business capabilities. You can gain modularity, extensive parallelism and cost-effective scaling by deploying services across many distributed servers. Microservices modularity facilitates independent updates/deployments, and helps to avoid single point of failure, which can help prevent large-scale outages. We also decided to use Event Driven Architecture pattern which is a popular distributed asynchronous architecture pattern used to produce highly scalable applications. The event-driven architecture is made up of highly decoupled, single-purpose event processing components that asynchronously receive and process events.

To build our #Backend capabilities we decided to use the following: 1. #Microservices - Java with Spring Boot , Node.js with ExpressJS and Python with Flask 2. #Eventsourcingframework - Amazon Kinesis , Amazon Kinesis Firehose , Amazon SNS , Amazon SQS, AWS Lambda 3. #Data - Amazon RDS , Amazon DynamoDB , Amazon S3 , MongoDB Atlas

To build #Webapps we decided to use Angular 2 with RxJS

#Devops - GitHub , Travis CI , Terraform , Docker , Serverless

See more
James Man
Software Engineer at Pinterest · | 44 upvotes · 1.1M views
Shared insights

One of our top priorities at Pinterest is fostering a safe and trustworthy experience for all Pinners. As Pinterest’s user base and ads business grow, the review volume has been increasing exponentially, and more content types require moderation support. To solve greater engineering and operational challenges at scale, we needed a highly-reliable and performant system to detect, report, evaluate, and act on abusive content and users and so we created Pinqueue.

Pinqueue-3.0 serves as a generic platform for content moderation and human labeling. Under the hood, Pinqueue3.0 is a Flask + React app powered by Pinterest’s very own Gestalt UI framework. On the backend, Pinqueue3.0 heavily relies on PinLater, a Pinterest-built reliable asynchronous job execution system, to handle the requests for enqueueing and action-taking. Using PinLater has significantly strengthened Pinqueue3.0’s overall infra with its capability of processing a massive load of events with configurable retry policies.

Hundreds of millions of people around the world use Pinterest to discover and do what they love, and our job is to protect them from abusive and harmful content. We’re committed to providing an inspirational yet safe experience to all Pinners. Solving trust & safety problems is a joint effort requiring expertise across multiple domains. Pinqueue3.0 not only plays a critical role in responsively taking down unsafe content, it also has become an enabler for future ML/automation initiatives by providing high-quality human labels. Going forward, we will continue to improve the review experience, measure review quality and collaborate with our machine learning teams to solve content moderation beyond manual reviews at an even larger scale.

See more

I am currently learning web development with Python and JavaScript course by CS50 Harvard university. It covers python, Flask, Django, SQL, Travis CI, javascript,HTML ,CSS and more. I am very interested in Flutter app development. Can I know what is the difference between learning these above-mentioned frameworks vs learning flutter directly? I am planning to learn flutter so that I can do both web development and app development. Are there any perks of learning these frameworks before flutter?

See more
Shared insights

We initially though we would use Django because it seemed to have a lot of the things we needed out of the box. After a bit of research we realized that using Flask would be a better option since it is more flexible and would be lighter for our purposes. Having set up our REST api using Flask we believe that we did make the right decision. We found that the flexibility of Flask along with the many extensions available for it to be very appealing. We were able to add the functionality we needed without much difficulty thanks to the quality of the extensions and their documentation.

See more
Taimoor Mirza
Associate Software Engineer at Intech Process Automation · | 5 upvotes · 561.6K views

For context, I currently use JavaScript (React) and Python (Flask) in my daily routine.

I need your help in choosing either Spring Boot or ASP.NET Core. Both frameworks seem to have mature ecosystems. I would like to hear your thoughts on the following points:

  • Difficulty level of both frameworks
  • Level of community support
  • Career prospects i.e do Spring based jobs pay more or vice versa
  • which one will be helpful if I decide to transition towards a more specialized field like data engineering.

I am asking this because it is something that I am also exploring in parallel. I know that Python and #SQL play a huge role in big data.

See more
GS Tao
Shared insights

I'm planning to build a cloud-based project for satellite image browsing, analysis, and downloading. Satellite image includes Sentinel-2, Landsat 8, MODIS, and other more open-source Earth observation datasets, assuming that time span is limited to the recent few years given a relatively limited storage space (i.e., TB-level). Previously, I chose Python due to its advantage of downloading and preprocessing satellite images, and consequently chose Flask as a microservice for scientific calculation. There was a separate service for tile map service to publish tms with stored satellite images using geotrellis. All I want to accomplish is similar to LandViewer. I want to know if it is applicable and scalable to build a fullstack framework using Django? Plus, is it only necessary to store downloaded original satellite image in advance? Any advice on schema design or tech stacks sharing would be appreciated.

See more

Blog Posts

Flask Alternatives & Comparisons

What are some alternatives to Flask?
Django is a high-level Python Web framework that encourages rapid development and clean, pragmatic design.
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.
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 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.
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
14528 developers follow Flask to keep up with related blogs and decisions.