Building a FastAPI Application & Exploring Python Concurrency
What are the steps to get started building a FastAPI application? What are the different types of concurrency available in Python? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder’s Weekly articles and projects.
We discuss a recent Real Python step-by-step tutorial about programming a FastAPI example application. You practice installing FastAPI, building your first endpoints, adding path and query parameters, and validating endpoints using Pydantic.
Christopher covers updates to his Real Python video course about concurrency in Python. The course digs into what concurrency means in Python and why you might want to incorporate it in your code. He describes the different methods and demonstrates how to approach coding using threading, asyncio, and multiprocessing.
We also share several other articles and projects from the Python community, including a news roundup, the PSF fundraiser campaign for 2025, where Python stores attributes, performance hacks for faster Python code, a project to transform functions into a web interface, and a Python disk-backed cache.
Course Spotlight: Python Descriptors
Learn what Python descriptors are, how the descriptor protocol works, and when descriptors are useful, with practical, hands-on examples.
Topics:
00:00:00 – Introduction
00:02:18 – Django Security Release
00:02:46 – Django Is Now a CVE Numbering Authority (CNA)
00:03:53 – An Annual Release Cycle for Django
00:04:12 – PEP 810: Explicit Lazy Imports (Accepted)
00:04:27 – PSF Board Office Hour Sessions for 2026
00:05:42 – PyCon US 2026: Call for Proposals Open
00:06:15 – PSF Fundraiser campaign for 2025
00:10:12 – A Close Look at a FastAPI Example Application
00:16:36 – Speed Up Python With Concurrency
00:21:08 – __dict__: Where Python Stores Attributes
00:25:59 – Video Course Spotlight
00:27:17 – 10 Smart Performance Hacks for Faster Python Code
00:29:56 – FuncToWeb: Transform Python Functions Into a Web Interface
00:32:48 – python-diskcache: Python Disk-Backed Cache
00:34:07 – Thanks and goodbye