Episode
#471 The ORM pattern of 2026?
- Podcast
- Python Bytes
- Published
- Mar 2, 2026
- Duration seconds
- 2363
- Processing state
processed- Canonical source
- https://pythonbytes.fm/episodes/show/471/the-orm-pattern-of-2026
Actions
POST https://stenobird.com/v1/public/podcasts/python-bytes/episodes/471-the-orm-pattern-of-2026/transcription-requests
Idempotently request low-priority transcript generation for this episode.GET https://stenobird.com/podcast/python-bytes/471-the-orm-pattern-of-2026.md
Read the agent-friendly Markdown representation of this episode resource.
Summary
An exploration of the 'Raw + Dataclass' architectural pattern as a response to the rise of agentic programming. The episode also reviews new Python utilities for data validation and menu bar management.
Topics
- Python
- Software Architecture
- Dataclasses
- SQL
- Agentic Programming
- Data Validation
- macOS
- DevOps
Highlights
- Main idea: The 'Raw + DC' pattern advocates for using raw SQL alongside Python dataclasses to create a more portable, framework-agnostic data access layer
- Practical takeaway: Use 'Dataclass Wizard' to easily add JSON, YAML, or environment variable parsing capabilities to standard Python dataclasses via mixins
- Failure mode: Relying heavily on heavy ORMs like Django's can create tight coupling that makes migrating web frameworks difficult
- Main idea: Agentic programming requires architectures that are easier for AI agents to navigate and manipulate without breaking complex abstractions
- Practical takeaway: For macOS users, 'Thaw' serves as a modern, open-source alternative to abandoned menu bar managers like Ice
Chapters
3:55The Raw + DC Design Pattern: Discussing a new architectural approach using raw SQL and dataclasses to prepare for an era of AI-driven coding.15:45pytest-check Updates: A brief look at recent updates to the pytest-check library and its usage in testing.18:45Dataclass Wizard: An overview of the Dataclass Wizard library, demonstrating how mixins can add JSON and ENV parsing to dataclasses.27:30macOS Productivity Tools: Reviewing new macOS utilities for app management and the transition from Ice to Thaw for menu bar control.30:30The Future of Software Development: Reflecting on Jevons Paradox and the increasing complexity of software in the age of automation.