LangGraph, Marimo, Django Template Components, and More

#674 – MARCH 25, 2025 VIEW IN BROWSER
The PyCoder’s Weekly Logo
LangGraph: Build Stateful AI Agents in Python
LangGraph is a versatile Python library designed for stateful, cyclic, and multi-actor Large Language Model (LLM) applications. This tutorial will give you an overview of LangGraph fundamentals through hands-on examples, and the tools needed to build your own LLM workflows and agents in LangGraph.
REAL PYTHON

Quiz: LangGraph: Build Stateful AI Agents in Python
REAL PYTHON

Reinventing Notebooks as Reusable Python Programs
Marimo is a Jupyter replacement that uses Python as its source instead of JSON, solving a lot of issues with notebooks. This article shows you why you might switch to marimo.
AKSHAY, MYLES, & MADISETTI

How to Build AI Agents With Python & Temporal
Join us on April 3 at 9am PST/12pm EST to learn how Temporal’s Python SDK powers an agentic AI workflow creation. We’ll start by covering how Temporal lets you orchestrate agentic AI, then transition to a live demo →
TEMPORALsponsor

Django Template Components Are Slowly Coming
Django 5.2 brings the Simple Block tag which is very similar to React children, allowing templated components. This post shows several examples from Andy’s own code.
ANDREW MILLER

PEP 758: Allow Except and Except* Expressions Without Parentheses (Accepted)
PYTHON.ORG

IPython 9 Released
IPYTHON.READTHEDOCS.IO

Python Release Python 3.14.0a6
PYTHON.ORG

Django 5.2 Release Candidate 1 Released
DJANGO SOFTWARE FOUNDATION

Quiz: Build an LLM RAG Chatbot With LangChain
REAL PYTHON


Articles & Tutorials


A Decade of Automating the Boring Stuff With Python
What goes into updating one of the most popular books about working with Python? After a decade of changes in the Python landscape, what projects, libraries, and skills are relevant to an office worker? This week on the show, we speak with previous guest Al Sweigart about the third edition of “Automate the Boring Stuff With Python.”
REAL PYTHON podcast

PyCon US: Travel Grants & Refund Policy
PyCon US offers travel grants to visitors. This post explains how they are decided. Also, with changing border requirements in the US, you may also be interested in the Refund Policy for International Attendees
PYCON.BLOGSPOT.COM

Using Structural Pattern Matching in Python
In this video course, you’ll learn how to harness the power of structural pattern matching in Python. You’ll explore the new syntax, delve into various pattern types, and find appropriate applications for pattern matching, all while identifying common pitfalls.
REAL PYTHON course

Smoke Test Your Django Admin Site
When writing code that uses the Django Admin, sometimes you forget to match things up. Since it is the Admin, who tests that? That doesn’t mean it won’t fail. This post shows you a general pytest function for checking that empty Admin pages work correctly.
JUSTIN DUKE

Python’s Instance, Class, and Static Methods Demystified
In this tutorial, you’ll compare Python’s instance methods, class methods, and static methods. You’ll gain an understanding of when and how to use each method type to write clear and maintainable object-oriented code.
REAL PYTHON

I Fear for the Unauthenticated Web
A short opinion post by Seth commenting on how companies scraping the web to build LLMs are causing real costs to users, and suggests you implement billing limits on your services.
SETH M LARSON

Django Query Optimization: Defer, Only, and Exclude
Database queries are usually the bottlenecks of most web apps. To minimize the amount of data fetched, you can leverage Django’s defer(), only(), and exclude() methods.
TESTDRIVEN.IO • Shared by Michael Herman

How to Use Async Agnostic Decorators in Python
Using decorators in a codebase that has both synchronous and asynchronous functions poses many challenges. One solution is to use generators. This post shows you how.
PATREON • Shared by Patreon Engineering

PEP 779: Criteria for Supported Status for Free-Threaded Python
PEP 703 (Making the Global Interpreter Lock Optional in CPython), described three phases of development. This PEP outlines the criteria to move between phases.
PYTHON.ORG

uv overtakes Poetry
Wagtail, the Django-based CMS, tracks download statistics including by which installation tool. Recently, uv overtook Poetry. This post shows the stats.
THIBAUD COLAS

Using Pyinstrument to Profile FastHTML Apps
A quick post with instructions on how to add profiling to your FastHTML app with pyinstrument.
DANIEL ROY GREENFIELD


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 →

compress_json: Read and Write Compressed JSON
GITHUB.COM/LUCACAPPELLETTI94

pysqlscribe: A SQL Query Builder in Python
GITHUB.COM/DANIELENRICOCAHALL

shorts_maker: YouTube Shorts Automation
GITHUB.COM/RAJATHJN

pydoll: Automate Chromium Browsers Without a WebDriver
GITHUB.COM/THALISSONVS

faststream: Event Streams Library
GITHUB.COM/AIRTAI

📆🐍 Upcoming Python Events


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

SPb Python Drinkup
March 27, 2025

Python Leiden User Group
March 27, 2025

PyLadies Amsterdam: Introduction to BDD in Python
March 31, 2025
Happy Pythoning!
Copyright © 2025 PyCoder’s Weekly, All rights reserved.
You are receiving this email because you opted in on our website at pycoders.com
Our mailing address: DevCademy Media Inc. · #720-999 West Broadway, Vancouver BC V5Z 1K5, Canada

Unsubscribe | Update Email Address

Older messages

Textual UIs, Tail-Call Performance, Bidirectional Generators, and More

Tuesday, March 18, 2025

Python Textual: Build Beautiful UIs in the Terminal #673 – MARCH 18, 2025 VIEW IN BROWSER The PyCoder's Weekly Logo Python Textual: Build Beautiful UIs in the Terminal Textual is a Python library

Binary Data, Tail Calls, Pickles, and More

Tuesday, March 11, 2025

Bytes Objects: Handling Binary Data in Python #672 – MARCH 11, 2025 VIEW IN BROWSER The PyCoder's Weekly Logo Bytes Objects: Handling Binary Data in Python In this tutorial, you'll learn about

Underscore Naming, Flask-SQLAlchemy, Kivy, and More

Tuesday, March 4, 2025

Single and Double Underscore Naming Conventions in Python #671 – MARCH 4, 2025 VIEW IN BROWSER The PyCoder's Weekly Logo Single and Double Underscore Naming Conventions in Python In this video

Joining Strings, MongoDB in Django, Mobile Wheels, and More

Thursday, February 27, 2025

How to Join Strings in Python #669 – FEBRUARY 18, 2025 VIEW IN BROWSER The PyCoder's Weekly Logo How to Join Strings in Python In this tutorial, you'll learn how to use Python's built-in .

pyproject.toml, DuckDB, Flet, and More

Thursday, February 27, 2025

How to Manage Python Projects With `pyproject.toml` #670 – FEBRUARY 25, 2025 VIEW IN BROWSER The PyCoder's Weekly Logo How to Manage Python Projects With pyproject.toml Learn how to manage Python

You Might Also Like

BetterDev #277 - When You Deleted /lib on Linux While Still Connected via SSH

Tuesday, March 25, 2025

Better Dev #277 Mar 25, 2025 Hi all, Last week, NextJS has a new security vulnerability, CVE-2025-29927 that allow by pass middleware auth checking by setting a header to trick it into thinking this is

JSK Daily for Mar 25, 2025

Tuesday, March 25, 2025

JSK Daily for Mar 25, 2025 View this email in your browser A community curated daily e-mail of JavaScript news Easily Render Flat JSON Data in JavaScript File Manager The Syncfusion JavaScript File

Want to create an AI Agent?

Tuesday, March 25, 2025

Tell me what to build next ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏ ͏

Charted | Where People Trust the Media (and Where They Don't) 🧠

Tuesday, March 25, 2025

Examine the global landscape of public trust in media institutions. Confidence remains low in all but a few key countries. View Online | Subscribe | Download Our App Presented by: BHP >> Read

Daily Coding Problem: Problem #1728 [Medium]

Tuesday, March 25, 2025

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Square. Assume you have access to a function toss_biased() which returns 0 or 1 with a

LW 175 - Shopify uses AI to Prepare Stores for Script Editor Deprecation

Tuesday, March 25, 2025

Shopify uses AI to Prepare Stores for Script Editor Deprecation ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ ‌ Shopify Development news and

Reminder: Microservices rules #7: Design loosely design-time coupled services - part 1

Tuesday, March 25, 2025

You are receiving this email because you subscribed to microservices.io. Considering migrating a monolith to microservices? Struggling with the microservice architecture? I can help: architecture

Delete your 23andMe data ASAP 🧬

Tuesday, March 25, 2025

95+ Amazon tech deals; 10 devs on vibe coding pros and cons -- ZDNET ZDNET Tech Today - US March 25, 2025 dnacodegettyimages-155360625 How to delete your 23andMe data and why you should do it now With

Post from Syncfusion Blogs on 03/25/2025

Tuesday, March 25, 2025

New blogs from Syncfusion ® Create AI-Powered Smart .NET MAUI Data Forms for Effortless Data Collection By Jeyasri Murugan This blog explains how to create an AI-powered smart data form using our .NET