Python3 workflow framework