Fluent interfaces in Python

July 2, 2019

One of the lesser known techniques when designing APIs in Python is the concept of the fluent interface. Fluent interfaces help the user of your API to work with an object and it’s methods in a more concise manner and can therefore make your API simpler and more desirable to use. ... Read more

Captain Hook

August 15, 2018

Pondering over the Shotgun hook framework at work today, I wrote a simple hook decorator handling pre-function execution and post-function execution events. ... Read more

© 2018-2020 Florian Einfalt