Flask Core and Extensions Code Examples

Flask is a Python web framework.

Official Flask logo. Flask Artwork License.

Flask Example Projects

Flask's large ecosystem of extensions make it easier for developers to build common web app features such as authentication, database operations and APIs even though support is not built into the core Flask web framework. This design is by choice in contrast to Django's "batteries-included" approach. Either framework's design decision is a viable approach depending on the needs and requirements of the application you are building.

The extensive collection of Flask libraries is a great source for learning the framework through reading code examples.

This alphabetically-ordered list of projects provide helpful example code for building your own web apps.

flask-base

flask-base (project documentation) is a boilerplate starter application that is pre-configured with SQLAlchemy, Redis, user authentication and other features.

flask-base's code is open sourced under the MIT license.

FlaskBB

FlaskBB (project website) is a Flask-based forum web application. The web app allows users to chat in an open message board or send private messages in plain text or Markdown.

FlaskBB is provided as open source under this license.

FlaskBB's code examples can be found on:

Flasky

Flasky is the wonderful example application by Miguel Grinberg that he builds while teaching developers how to use Flask in his books and videos. Flasky is open sourced under the MIT license.

Code examples from Flasky are shown on the following pages:


Sign up for a monthly email with Full Stack Python tutorials. No spam ever.

Learn More Python

Introduction to Ansible video course logo.

Deploy web apps with the Ansible configuration management tool.

Full Stack Python

Full Stack Python is an open book that explains concepts in plain language and provides helpful resources for those topics.
Updates via newsletter, Twitter & Facebook.

Matt Makai 2012-2019