News for hackers. Stuff that matters.
Re:How I Structure My Flask Applications by nikon on Thursday June 27, 2013 @09:12AM (#5952067)
This is great. As a recently new Python and Flask user it's good to see how things are done in a nicer way than I have hacked together!

Question: I have a web app built in flask, but I also require a worker process in the background that is actively scraping websites and inserting/ updating data into the DB via the ORM. How would you go about that in the cleanest way?

Re:How I Structure My Flask Applications by timmipetit on Thursday June 27, 2013 @09:36AM (#5952166)
You could use Celery: http://www.celeryproject.org/
Re:How I Structure My Flask Applications by mattupstate on Thursday June 27, 2013 @10:45AM (#5952537)