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

Flask by example part 1

Tutorial

Project Setup

This tutorial shows you how to process text and then setup a task queue with Flask. In part one, we'll set up a local development environment and then deploy both a staging environment and a production environment on Heroku.

Flask by example part 2

Tutorial

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

Tutorial

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

Tutorial

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

Tutorial

Integrating Flask and Angular

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

Flask by example part 6

Tutorial

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

Tutorial

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

Tutorial

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