Designing a Python interface for machine learning engineering