Subject
2 entries
Decorators
Bookmarks
Python Decorators for Data Scientists
Marton Trencseni's survey of Python decorators useful for data scientists — covering retry logic, timing, caching, and type checking patterns that bridge the gap between exploratory notebook code and production pipelines. Good reference for DS engineers who want production-grade patterns without abandoning Pythonic style.
Python Decorators: A Primer
A practical explainer on Python decorators — the @syntax wrapper pattern that lets you modify or extend function behavior without changing the function itself. A key Python metaprogramming tool used for logging, auth, caching, and more.
