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

Title image for Project Setup (Deploying a Python Flask Example Application Using Heroku)

Course

Project Setup

Learn how to create a Python Flask example web application and deploy it using Heroku. You’ll also use Git to track changes to the code, and you’ll configure a deployment workflow with different environments for staging and production.

Title image for Setting up Postgres, SQLAlchemy, and Alembic (Flask by Example – Setting up Postgres, SQLAlchemy, and Alembic)

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.

Title image for Text Processing with Requests, BeautifulSoup, and NLTK (Flask by Example – Text Processing with Requests, BeautifulSoup, and NLTK)

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.

Title image for Implementing a Redis Task Queue (Flask by Example – Implementing a Redis Task Queue)

Tutorial

Implementing a Redis Task Queue

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

Title image for Integrating Flask and Angular (Flask by Example – Integrating Flask and Angular)

Tutorial

Integrating Flask and Angular

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

Title image for Updating the Staging Environment (Flask by Example – Updating the Staging Environment)

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

Title image for Updating the UI (Flask by Example – Updating the UI)

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.

Title image for Custom Angular Directive with D3 (Flask by Example – Custom Angular Directive with D3)

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