title: Simple Network UDP Listen in Flask or Pyramid
body: <p>I need to create a web app that displays data provided via periodic incoming UDP packets.  The site will be probably be in Flask (possibly Pyramid), deployed under Nginx.  How can a I create a very simple background task (basically just socket.recv()) to listen for any incoming packets, and push the data into globally accessible lists?  </p>
  
  <p>Can I simply spawn a thread from main() to do this, or do I need to use something like Celery or PyRes?  </p>
  
  <p>Thanks for any guidance.</p>