As announced on the official Flask site, the Flask 3.x Release is out. For newcomers, 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.
Release Date
2023-09-30
- Remove previously deprecated code. #5223
- Deprecate the version attribute. Use feature detection, or importlib.metadata.version("flask"), instead. #5230
- Restructure the code such that the Flask (app) and Blueprint classes have Sans-IO bases. #5127
- Allow self as an argument to url_for. #5264
- Require Werkzeug >= 3.0.0.
The complete Release Note for Flask v3
can be found here.
The below section provides a curated list of open-source starters that use already Flask 3
Open-source Flask/Jinja Template provided by AppSeed on top of Soft UI Dashboard, a modern Bootstrap 5 dashboard design.
- π Flask v3 Sample - Source Code
- π Flask v3 Sample - LIVE Demo
- β
Up-to-date dependencies
using a Flask v3.0.0 compatible stack - β Render Engine: Flask / Jinja2
- β UI Kit: Soft Dashboard BS5 by Creative-Tim
- β
Docker
- β
CI/CD
via Render
Open-source Flask/Jinja Template provided by AppSeed on top of Material Kit, a modern Bootstrap 5 design.
The project is a super simple Flask project WITHOUT database, ORM, or any other hard dependency - Design from Creative-Tim.
π Flask v3 Material Kit -
Source Code
Open-source Flask/Jinja Template provided by AppSeed on top of Volt Dashboard, a modern Bootstrap 5 dashboard design.
The project is a super simple Flask project WITHOUT database, ORM, or any other hard dependency - Design from Themesberg.
π Flask v3 Volt Dashboard -
Source Code
Flask is a micro web framework for building web applications in Python. It is designed to be lightweight and simple, providing the essential tools and features needed to create web applications without imposing a lot of overhead or unnecessary complexity. Flask is often described as a "micro" framework because it doesn't include a lot of built-in functionality, but it allows developers to easily extend and customize it as needed.
Key features and concepts of Flask include:
Flask allows you to define URL routes for your application, specifying which functions should be called when a particular URL is accessed. This makes it easy to create different views and handle different HTTP methods (GET, POST, etc.) for various parts of your application.
Flask includes a built-in template engine (Jinja2) that enables you to generate HTML dynamically by combining templates with data from your Python code. This separates the presentation layer from the application logic.
Flask provides a convenient way to access data from HTTP requests (e.g., form data, query parameters) and to send HTTP responses (e.g., HTML pages, JSON data).
Flask has a URL-building system that allows you to generate URLs for different routes in a consistent and efficient manner.
Flask is designed to be easily extensible with various extensions and libraries. You can add functionalities like database integration, user authentication, and more by using Flask extensions or third-party packages.
Flask doesn't impose a specific structure on your project, which gives you the flexibility to organize your code as you see fit. This minimalistic approach allows developers to choose the components they need for their specific project.
Flask's simplicity makes it a great choice for beginners and for small to medium-sized projects. It has a small learning curve and a clear and concise documentation.
While Flask is minimalistic by design, it has a strong and active community that has developed a wide range of extensions and plugins to enhance its functionality. These extensions can be easily integrated into Flask applications to add features like user authentication, database integration (e.g., SQLAlchemy), and more.
Overall, Flask is a popular choice for developers who want to quickly build web applications in Python with a focus on simplicity and flexibility.
Flask 3 Release Free Samples - Open-Source and Free samples provided by AppSeed.