Thank you!
As for my camera setup, it depends. When I’m lazy I just use Aperture (A mode). My Sony does a pretty good job for ramping and rarely requires deflickering. But if it occurs you can use either darktable’s exposure module in automatic mode or the script.
I set White Balance always to AWB, because that way I get an idea of what the White Balance should look like. Especially for Sunrise / Sunset WB changes over time. However, the automatic algorithm seems to be less stable than the light meter. This results in what I call “color flicker”. This can be solved using this script and was the actual reason for writing this script.
I hope you enjoy using this script and get something out of it!