A weekly Python podcast hosted by Christopher Bailey with interviews, coding tips, and conversation with guests from the Python community. The show covers a wide range of topics including Python programming best practices, career tips, and related software development topics. Join us every Friday morning to hear what's new in the world of Python programming and become a more effective Pythonista.

Building Python REST APIs With Flask & Structuring Pull Requests

November 25, 2022 0:57:33 56.2 MB Downloads: 0

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.

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.

Course Spotlight: The Pandas DataFrame: Working With Data Efficiently

In this course, you’ll get started with pandas DataFrames, which are powerful and widely used two-dimensional data structures. You’ll learn how to perform basic operations with data, handle missing values, work with time-series data, and visualize data from a pandas DataFrame.

Topics:

  • 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:

Discussion:

Projects:

Additional Links:

Support the podcast & join our community of Pythonistas