Issue #732

Web Scraping, Altair Charts, OpenAI's API, and More

April 28, 2026

Web Scraping, Altair Charts, OpenAI's API, and More
#732 – APRIL 28, 2026 VIEW IN BROWSER
The PyCoder’s Weekly Logo
browser-use vs. Playwright: Which to Pick for Web Scraping?
Follow along in this walk-through building a Hacker News synthesizer with browser-use, then see it fail on a harder Newegg scraping task. Includes a side-by-side comparison with Playwright and a breakdown of when each tool is the right call.
CODECUT.AI • Shared by Khuyen Tran

Altair: Declarative Charts With Python
Build interactive Python charts the declarative way with Altair. Map data to visual properties and add linked selections. No JavaScript required.
REAL PYTHON

Positron: The Data Science IDE from Posit PBC
Positron is a free IDE built for Python data science. AI assistance, interactive data frames, Jupyter notebooks, and instant app deployment, all in one place. Stop context-switching. Start shipping. Download free.
POSIT PBCsponsor

Leverage OpenAI’s API in Your Python Projects
Learn how to use the ChatGPT API with Python’s openai library to send prompts, control AI behavior with roles, and get structured outputs.
REAL PYTHON course

Quiz: Leverage OpenAI’s API in Your Python Projects
REAL PYTHON

Python Software Foundation Fellow Members for Q1 2026!
PYTHON SOFTWARE FOUNDATION

PEP 708: Extending the Repository API to Mitigate Dependency Confusion Attacks (Rejected)
PYTHON.ORG

PEP 806: Mixed Sync/Async Context Managers With Precise Async Marking (Rejected)
PYTHON.ORG

PEP 833: Freezing the HTML Simple Repository API (Draft)
PYTHON.ORG


Articles & Tutorials


Fixing a Memory “Leak” From Python 3.14’s Incremental Garbage Collection
Adam encountered an out-of-memory error while migrating a client project to Python 3.14. The issue occurred when running Django’s database migration command on a limited-resource server, and seemed to be caused by the new incremental garbage collection algorithm in Python 3.14.
ADAM JOHNSON

Logging to File and to Textual Console
When writing TUI applications in Textual you can’t just print out your debug info since the terminal is controlled by the framework. This article shows you how to log and use Textual’s built-in debug console.
MIKE DRISCOLL

Beyond Basic RAG: Build Persistent AI Agents
Master next-gen AI with Python notebooks for agentic reasoning, memory engineering, and multi-agent orchestration. Scale apps using production-ready patterns for LangChain, LlamaIndex, and high-performance vector search. Explore & Star on GitHub.
ORACLEsponsor

Read the Docs Now Supports uv Natively
Popular open source documentation site Read the Docs has announced they now support native uv in .readthedocs.yaml for Python dependency installation. Learn how to use it in your configurations
READ THE DOCS

PyTexas 2026 Recap
Per-talk notes from PyTexas 2026 in Austin: Hynek on domain modeling, Dawn Wages on specialization, MCP security, PEP 810 lazy imports, free-threading, Ruff, ty, uv, supply chain.
BERNÁT GÁBOR

The Carbon Footprint of Wagtail AI
One of the package maintainers for Wagtail AI shares his method for measuring the carbon impact of the different AI tasks users can do and goes over the initial results.
WAGTAIL.ORG • Shared by Meagen Voss

Gemini CLI vs Claude Code: Which to Choose for Python Tasks
Gemini CLI vs Claude Code: compare setup, performance, code quality, and cost to find the right Python AI coding tool for your workflow.
REAL PYTHON

Learn the Agentic Coding Workflow That Actually Works on Real Projects
65% of Python developers are stuck using AI for small tasks that fall apart on anything real. This 2-day live course (May 6-7 via Zoom) walks you through building a complete Python CLI app with Claude Code, from an empty directory to a shipped project on GitHub.
REAL PYTHON

Implementing OpenTelemetry in FastAPI
Learn how you can observe your FastAPI web apps with OpenTelemetry, including how to integrate it and why it is important.
SIGNOZ.IO • Shared by Dhruv Ahuja

Building a Python Library in 2026
So you want to build a Python library in 2026? Here’s everything you need to know about the state of the art.
STEPHEN IF


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 →

Local Usage PyPI Alternative With Vulnerability Scanning
Very interesting project
GITHUB.COM/RUSTEDBYTES • Shared by Yehor Smoliakov

typeform: Type-Safe UI/CLI Generator Powered by Pydantic
GITHUB.COM/STHITAPRAJNAS

vibescore: One-Command Quality Score for Any Python Project
GITHUB.COM/STEF41 • Shared by Anonymous

dash: Data Apps & Dashboards for Python
GITHUB.COM/PLOTLY

profiling-explorer: Table-Based Profile Exploration Tool
GITHUB.COM/ADAMCHAINZ

📆🐍 Upcoming Python Events


Weekly Real Python Office Hours Q&A (Virtual)
April 29, 2026

PyCamp Spain 2026
April 30 to May 4, 2026

PyDelhi User Group Meetup
May 2, 2026

PyBodensee Monthly Meetup
May 4, 2026

IndyPy: Lightning Talks
May 5 to May 6, 2026
Happy Pythoning!
Copyright © 2026 PyCoder’s Weekly, All rights reserved.