A simple example for Flask with Celery
see: http://flask.pocoo.org/docs/patterns/celery/
In this project directory start celery:
celery -A app.celery worker&
then start the application:
python app.py&
then run the example script
python example.py