Pinned Tweet
Win three years of Real Python, plus all four of our Python books.
That's our Black Friday giveaway. Entering is free, you just need a free Real Python account.
Entries close Friday, November 27.
realpython.com/blackfriday?u…
AI agents get closer to production: Claude Ship reviews and approves pull requests, and Codex writes Shirudo shields for unpatched Linux servers.
Plus cheaper ways to run models, on one CPU core or from an SSD 🧵
2
2
932
💾 vLLM KV cache on NVMe matches DRAM
AMD and Embedded LLM report that an NVMe KV cache using open-source MoRI UMBP matched a same-size DRAM pool within 1% on Kimi-K3, tested on AMD MI355X GPUs. A 1.8 TB DRAM pool costs about $76,000.
1
272
Get stories like these in your inbox every weekday, free from the Real Python team:
realpython.com/ai-newsletter…
269
Ever read "Model-View-Controller" and nodded without really getting it?
Exploring the MVC Pattern in Python follows one user request through an app, then you build a small Flask app with it.
realpython.com/courses/explo…
New to Git and not sure which commands you need?
This beginner cheat sheet is one to keep open while you learn. Grab the PDF 👇
realpython.com/bonus/how-to-…
1
5
1,576
You can write Java or JavaScript. Your Python still looks like Java.
This page collects resources and tips for developers switching to Python, so you can write clean, Pythonic code sooner.
realpython.com/switching-to-…
5
1,630
Python 3.15's lazy imports took one team's CLI --help from 1,314 ms to 326 ms.
Their terminal UI only got 20% faster. The write-up shows the spots where a lazy import stops being lazy without telling you.
From the @namegarage dev blog.
namegarage.com/blog/python-3…
2
15
1,928
Haven't tried the lazy keyword yet? Our tutorial shows how it works and how it speeds up startup.
realpython.com/python315-laz…
3
480
If your Python app calls one hard-coded AI model, that provider's outage is your outage.
OpenRouter puts many providers behind one API key:
1. Fallbacks in one field
2. Cheapest provider per model
3. Let it pick the model
4. Errors that don't raise
5. No new SDK
🧵
1
14
3,156
5. You don't need a new SDK. The tutorial uses plain requests with an Authorization: Bearer header.
Already on the OpenAI SDK? Point base_url at OpenRouter's /api/v1 endpoint, pass your OpenRouter API key, and use model IDs like openai/gpt-3.5-turbo.
1
1
447
What does your app do today when its only model provider returns an error?
The tutorial also has four ways to order a fallback list, and when each one fits.
realpython.com/openrouter-ap…
471
Tired of telling Claude your docstring style in every chat?
Put it in a Claude Code skill once. Every docstring then follows your project's rules on its own.
realpython.com/claude-code-s…
