py app for uart