MirahLabs Publications

MirahLabs Engineering Blog

Technical insights, architectural deep-dives, and system designs authored by our product engineers and AI research leads.

Active Filters: Tag: metaprogramming Clear All Filters
💻 Python
Python Apr 21, 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.

⏱️ 9 min read Read Article