Issue #710

FastAPI, Floodfill, 20 Years of Django, and More

Nov. 25, 2025

FastAPI, Floodfill, 20 Years of Django, and More
#710 – NOVEMBER 25, 2025 VIEW IN BROWSER
The PyCoder’s Weekly Logo
Serve a Website With FastAPI Using HTML and Jinja2
Use FastAPI to render Jinja2 templates and serve dynamic sites with HTML, CSS, and JavaScript, then add a color picker that copies hex codes.
REAL PYTHON

Quiz: Serve a Website With FastAPI Using HTML and Jinja2
Review how to build dynamic websites with FastAPI and Jinja2, and serve HTML, CSS, and JS with HTMLResponse and StaticFiles.
REAL PYTHON

Floodfill Algorithm in Python
The floodfill algorithm is used to fill a color in a bounded area. Learn how it works and how to implement it in Python.
RODRIGO GIRÃO SERRÃO

New guide: The Engineering Leader AI Imperative
Augment Code’s new guide features real frameworks to lead your engineering team to systematic transformation: 30% faster PR velocity, 40% reduction in merge times, and 10x task speed-ups across teams. Learn from CTOs at Drata, Webflow, and Tilt who’ve scaled AI across 100+ developer teams →
AUGMENT CODEsponsor

Twenty Years of Django Releases
On November 16th, Django celebrated its 20th anniversary. This quick post highlights a few stats along the way.
DJANGO SOFTWARE FOUNDATION

Django 6.0 RC1 Released
DJANGO SOFTWARE FOUNDATION

Python 3.15.0 Alpha 2 Released
CPYTHON DEV BLOG


Python Jobs


Python Video Course Instructor
REAL PYTHON 📍 ANYWHERE

Python Tutorial Writer
REAL PYTHON 📍 ANYWHERE

More Python Jobs >>>


Articles & Tutorials


The Uselessness of “Fast” and “Slow” in Programming
“One of the unique aspects of software is how it spans such a large number of orders of magnitude.” The huge difference makes the terms “fast” and “slow” arbitrary. Read on to discover how this effects our thinking as programmers and what mistakes it can cause.
JEREMY BOWERS

New Login Verification for TOTP-based Logins
Previously, when logging into PyPI with a Time-based One-Time Password (TOTP) authenticator, a successful response was sufficient. Now, if you log in from a new device, PyPI will send a verification email. Read all about how this protects PyPI users.
DUSTIN INGRAM

A Better Way to Watch Your Python Apps—Now with AI in the Loop
Scout’s local MCP server lets your AI assistant query real Python telemetry. Call endpoints like get_app_error_groups or get_app_endpoint_traces to surface top errors, latency, and backtraces—no dashboards, no tab-switching, all from chat →
SCOUT APMsponsor

Manim: Create Mathematical Animations
Learn how to use Manim, the animation engine behind 3Blue1Brown, to create clear and compelling visual explanations with Python. This walkthrough shows how you can turn equations and concepts into smooth animations for data science storytelling.
CODECUT.AI • Shared by Khuyen Tran

The Varying Strictness of TypedDict
Brett came across an unexpected typing error when using Pyrefly on his code. He verified it with Pyright, and found the same problem. This post describes the issue and why ty let it pass.
BRETT CANNON

Exploring Class Attributes That Aren’t Really Class Attributes
Syntax used for data classes and typing.NamedTuple confused Stephen when first learning it. Learn why, and how he cleared up his understanding.
STEPHEN GRUPPETTA

Unnecessary Parentheses in Python
Python’s ability to use parentheses for grouping can often confuse new Python users into over-using parentheses in ways that they shouldn’t be used.
TREY HUNNER

Build an MCP Client to Test Servers From Your Terminal
Follow this Python project to build an MCP client that discovers MCP server capabilities and feeds an AI-powered chat with tool calls.
REAL PYTHON

Quiz: Build an MCP Client to Test Servers From Your Terminal
Learn how to create a Python MCP client, start an AI-powered chat session, and run it from the command line. Check your understanding.
REAL PYTHON

Break Out of Loops With Python’s break Keyword
Learn how Python’s break lets you exit for and while loops early, with practical demos from simple games to everyday data tasks.
REAL PYTHON course

Cursor vs. Claude for Django Development
This article looks at how Cursor and Claude compare when developing a Django application.
ŠPELA GIACOMELLI


Projects & Code


Brought to you by Real Python for Teamssponsor
Online Python training created by a community of experts. Give your team the real-world Python skills they need to succeed →

code-spy: Watch File Changes & Run Tasks
GITHUB.COM/JOEGASEWICZ

PyWhatKit: Send WhatsApp Messages
GITHUB.COM/ANKIT404BUTFOUND

pyupgrade: Automatically Upgrade Python Syntax
GITHUB.COM/ASOTTILE

pipdeptree: Display Dependency Tree of Installed Packages
GITHUB.COM/TOX-DEV

djcheckup: Security Scanner for Django Sites
GITHUB.COM/STUARTMAXWELL

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
November 26, 2025

PyDelhi User Group Meetup
November 29, 2025

Melbourne Python Users Group, Australia
December 1, 2025

PyBodensee Monthly Meetup
December 1, 2025
Happy Pythoning!
Copyright © 2025 PyCoder’s Weekly, All rights reserved.