python stream client example