Flask by Example

Learning PathSkills: Web Development, Flask Framework

Python Flask Tutorials Artwork

You’re going to start building a Flask app that calculates word-frequency pairs based on the text from a given URL. This is a full-stack tutorial covering a number of web development techniques. Jump right in and discover the basics of Python web development with the Flask microframework.

Flask by Example

Learning Path ⋅ 8 Resources

Deploying a Python Flask Example Application Using Heroku


Project Setup

Learn how to create a Python Flask example web application and deploy it using Heroku.

Flask by example part 2


Setting up Postgres, SQLAlchemy, and Alembic

This tutorial shows you how to process text and then setup a task queue with Flask. In part two, we'll set up our PostgreSQL database along with SQLAlchemy and Alembic to handle migrations.

Flask by example part 3


Text Processing with Requests, BeautifulSoup, and NLTK

In part three of this series, we're going scrape the contents of a webpage and then process the text to display word counts.

Flask by example part 4


Implementing a Redis Task Queue

This part of the tutorial details how to implement a Redis task queue to handle text processing.

Flask by example part 5


Integrating Flask and Angular

This tutorial details how to utilize to create a polling service with Angular.

Flask by example part 6


Updating the Staging Environment

In this part of the Flask By Example series, we'll set up Redis on Heroku and look at how to run both a web and worker process on a single dyno

Flask by example part 7


Updating the UI

In this part of the Flask by Example series, we'll update the user interface to make it more user friendly.

Flask by example part 8


Custom Angular Directive with D3

In the final part of the Flask by Example series, we'll create a custom Angular Directive to display a frequency distribution chart using JavaScript and D3.

Got feedback on this learning path?

Looking for real-time conversation? Visit the Real Python Community Chat or join the next “Office Hours” Live Q&A Session. Happy Pythoning!

« Browse All Learning Paths