MVVM with python in the middle