Remake of wmal in Python.