A progress indicator machine for Python