├── .gitignore ├── README.md ├── app ├── __init__.py ├── celery.py ├── celery_config.py ├── tasks.py └── templates │ └── index.html ├── main.py └── requirement.txt /.gitignore: -------------------------------------------------------------------------------- 1 | *.py[cod] 2 | *$py.class 3 | venv 4 | .idea 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 2 | # Flask + Celery 实战 3 | 4 | 项目介绍:http://www.jianshu.com/p/d55075240968 5 | 6 | * 简单例子:异步发送邮件 7 | * 复杂例子:显示进度更新和结果 8 | -------------------------------------------------------------------------------- /app/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happy-python/flask_celery/HEAD/app/__init__.py -------------------------------------------------------------------------------- /app/celery.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happy-python/flask_celery/HEAD/app/celery.py -------------------------------------------------------------------------------- /app/celery_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happy-python/flask_celery/HEAD/app/celery_config.py -------------------------------------------------------------------------------- /app/tasks.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happy-python/flask_celery/HEAD/app/tasks.py -------------------------------------------------------------------------------- /app/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happy-python/flask_celery/HEAD/app/templates/index.html -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happy-python/flask_celery/HEAD/main.py -------------------------------------------------------------------------------- /requirement.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/happy-python/flask_celery/HEAD/requirement.txt --------------------------------------------------------------------------------