For me, I try to also take testability into account. I don't think there's a way of testing QML and importing objects from Python. At least, I am not aware of it. So I implement business logic in Python and try to mock it im QML tests. A use case would be testing a Python implementation of a model and the view + delegate in QML.