The Real Python Podcast

Building a FastAPI Application & Exploring Python Concurrency


Listen Later

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

    • Django Security Release: 5.2.8, 5.1.14, and 4.2.26
    • Django Is Now a CVE Numbering Authority (CNA)
    • An Annual Release Cycle for Django - Buttondown
    • PEP 810: Explicit Lazy Imports (Accepted)
    • PSF Board Office Hour Sessions for 2026
    • PyCon US, Long Beach CA, 2026: Call for Proposals Open
    • PSF Fundraiser campaign for 2025
    • Connecting the Dots: Understanding the PSF’s Current Financial Outlook
    • Show Links:

      • A Close Look at a FastAPI Example Application – Set up a FastAPI example app, add path and query parameters, and handle CRUD operations with Pydantic for clean, validated endpoints.
      • Speed Up Python With Concurrency – Learn what concurrency means in Python and why you might want to use it. You’ll see a simple, non-concurrent approach and then look into why you’d want threading, asyncio, or multiprocessing.
      • __dict__: Where Python Stores Attributes – Most Python objects store their attributes in a __dict__ dictionary. Modules and classes always use __dict__, but not everything does.
      • 10 Smart Performance Hacks for Faster Python Code – Some practical optimization hacks, from data structures to built-in modules, that boost speed, reduce overhead, and keep your Python code clean.
      • Projects:

        • FuncToWeb: Transform Python Functions Into a Web Interface
        • python-diskcache: Python Disk-Backed Cache
        • Additional Links:

          • Become a Member of the PSF - Python Software Foundation
          • FastAPI
          • Welcome to Pydantic
          • Quiz: A Close Look at a FastAPI Example Application – Practice FastAPI basics with path parameters, request bodies, async endpoints, and CORS. Build confidence to design and test simple Python web APIs.
          • Diskcache, more than caching - Bite code!
          • Level up your Python skills with our expert-led courses:

            • Python REST APIs With FastAPI
            • Python Descriptors
            • Speed Up Python With Concurrency
            • Support the podcast & join our community of Pythonistas

              ...more
              View all episodesView all episodes
              Download on the App Store

              The Real Python PodcastBy Real Python

              • 4.7
              • 4.7
              • 4.7
              • 4.7
              • 4.7

              4.7

              139 ratings


              More shows like The Real Python Podcast

              View all
              Software Engineering Radio by se-radio@computer.org

              Software Engineering Radio

              271 Listeners

              The Changelog: Software Development, Open Source by Changelog Media

              The Changelog: Software Development, Open Source

              288 Listeners

              Software Engineering Daily by Software Engineering Daily

              Software Engineering Daily

              624 Listeners

              Talk Python To Me by Michael Kennedy

              Talk Python To Me

              584 Listeners

              Soft Skills Engineering by Jamison Dance and Dave Smith

              Soft Skills Engineering

              288 Listeners

              Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

              Super Data Science: ML & AI Podcast with Jon Krohn

              303 Listeners

              Python Bytes by Michael Kennedy and Brian Okken

              Python Bytes

              214 Listeners

              Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

              Syntax - Tasty Web Development Treats

              986 Listeners

              REWORK by 37signals

              REWORK

              208 Listeners

              CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

              CoRecursive: Coding Stories

              190 Listeners

              DataFramed by DataCamp

              DataFramed

              268 Listeners

              Practical AI by Practical AI LLC

              Practical AI

              209 Listeners

              AWS Podcast by Amazon Web Services

              AWS Podcast

              203 Listeners

              The Stack Overflow Podcast by The Stack Overflow Podcast

              The Stack Overflow Podcast

              63 Listeners

              The Pragmatic Engineer by Gergely Orosz

              The Pragmatic Engineer

              64 Listeners