I want to listen on a on a UDP socket for data that will be streamed in and draw it on screen as it comes in. I believe that the socket module with bind will be suitable for receiving the data on the socket, but I am not sure on the best manner to proceed in drawing the data. The image dimensions would be known beforehand and the raw data would be directly drawn starting from any corner and proceeding to fill the image box.

I would assume the tkinter library or PyQt would be suitable for this but I don't know if there is a better choice or what I should be aware of when going down either of these paths.