MirahLabs Engineering Blog

Technical insights, tutorials, and architectures written by our design and backend engineers.

Active Filters: Tag: metaprogramming Clear All
Python March 20, 2026

Metaprogramming in Python: Metaclasses, Class Decorators, and Code Generation

Write code that writes code. Learn how to use class decorators, __new__ and __init__ overrides, and custom metaclasses to customize class creation dynamically.

⏱️ 21 min read Read Article