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