top of page


Decorators: The Singleton Factory
A discussion of Python decorators: In this part we discuss the singleton factory. A decorator that makes sure that a class has exactly one instance in existence at any time.
Dec 30, 20255 min read
Â


Decorators: One Decorator for all
A discussion of Python decorators: We discuss our first type of class decorator. A simple decorator that modifies all non dunder methods in the class.
Dec 23, 20254 min read
Â


Decorators: Feature Flags
A discussion of Python decorators: We discuss a decorator that enabled feature flags for functions. Thus environment variables can control which functions are available and which are not.
Dec 16, 20255 min read
Â
bottom of page