I Designed a Python SDK That Relies on… Deep Inheritance?!
Check out https://www.squarespace.com/arjancodes to save 10% off your first purchase of a website or domain using code ARJANCODES. Ever wondered how to build a clean Python SDK without a giant god class? In this video, I’ll show you how I designed an SDK that uses multiple layers of inheritance to keep your code DRY and easy to scale. 👷 Review code better and faster with my 3-Factor Framework: https://arjan.codes/diagnosis. 🔥 GitHub Repository: https://git.arjan.codes/2025/sdk. 🎓 ArjanCodes Courses: https://www.arjancodes.com/courses. 💬 Join my Discord server: https://discord.arjan.codes. ⌨️ Keyboard I’m using: https://amzn.to/49YM97v. 🔖 Chapters: 0:00 Intro 0:33 Our Test API 2:30 Building the SDK 4:46 What NOT to Do – Avoid the God Class 6:18 Squarespace Sponsored Section 8:05 Option 1 – Pass the Client (Dependency Injection) 11:33 Option 2 – Global Client (Singleton-style Import) 14:12 Design Issues 15:23 The BaseAPIModel 18:15 The User Model Becomes Simple 18:55 Using the Model 20:40 Pros and Cons of This Pattern 21:37 Want to Go Further? 22:32 Final Thoughts #arjancodes #softwaredesign #python

Anatomy of a Scalable Python Project (FastAPI)

What Most Python Developers Miss About Generators

I Re-Created A Quant Trading Strategy With Claude Code (Insanely Cool)

MCP…. So What’s That All About?

System Design Course – APIs, Databases, Caching, CDNs, Load Balancing & Production Infra

Zig 2026: No-AI Policy, $670K Foundation, Left GitHub & Why Zig Isn’t 1.0 - Andrew Kelley Explains

Knife Expert: Real Knife Defense Is TERRIFYING

Fifa World Cup 2026 - is it doomed from the start?

Trump Threatens Late Night TV Again, Might Be Upset We Won a Peabody & His Suspicious Health Report

Retry Pattern: The Secret to Resilient Python Code

Build Production-Ready AI Agents in Python with Pydantic AI

The Insane Genius of a Formula 1 Gearbox

NVIDIA's Hostile Takeover

I Tried SOLID Principles in Python… Here’s What Happened

Why Dataclasses Disappear in Real Python Applications

Nvidia: Not for humans anymore?

Python Has Serious Problems, But I Use It Anyway

Why Your Code Isn’t Pythonic (And How to Fix It)

Learn React With This ONE Project

