Real Python Podcast Episode #134 Title Artwork

Episode 134: Building Python REST APIs With Flask & Structuring Pull Requests

The Real Python Podcast

Nov 25, 2022 57m

How do you build a REST API using the Flask web framework? How can you quickly add endpoints while automatically generating documentation? This week on the show, Real Python author Philipp Acsany is here to discuss his tutorial series “Python REST APIs With Flask, Connexion, and SQLAlchemy.” Christopher Trudeau is also here with another batch of PyCoder’s Weekly articles and projects.

Episode Sponsor:

Philipp talks about updating a set of tutorials to use current libraries and best practices. The series takes you through building the base Flask project, defining endpoints, creating documentation, adding a persistent database, and implementing models with SQLAlchemy.

Christopher shares an article about contributing to an existing internal or open-source project by properly preparing pull requests. The article is titled “Ten Tasty Ingredients for a Delicious Pull Request”.

We share several other articles and projects from the Python community, including more suspicious PyPI packages using new tactics, method chaining in pandas, tools to find syntax errors without stopping, a library for searching text in videos using optical character recognition (OCR), a project for visualizing CPython’s specializing adaptive interpreter, and a library for building CLI applications based on type hints.


  • 00:00:00 – Introduction
  • 00:03:09 – Philipp’s background
  • 00:05:37 – Python REST APIs With Flask, Connexion, and SQLAlchemy
  • 00:14:35 – Ten Tasty Ingredients for a Delicious Pull Request
  • 00:24:25 – Sponsor: InfluxDB
  • 00:25:13 – Method Chaining in Pandas: Bad Form or a Recipe for Success?
  • 00:31:35 – More Suspicious PyPI Packages
  • 00:35:48 – Video Course Spotlight
  • 00:37:01 – What Tools Find Syntax Errors Without Stopping?
  • 00:47:29 – Perform OCR upon entire videos
  • 00:49:49 – Visualize CPython 3.11’s Specializing, Adaptive Interpreter
  • 00:54:08 – Typer, build great CLIs
  • 00:56:29 – Thanks and goodbye

Show Links:



Additional Links: