Skip to content

S-Mann/celery_scenarios

Repository files navigation

celery_scenarios

image

image

Documentation Status

Celery workflows and scenarios

Features

  • This application is a sandbox for my crazy celery workflow designs.
  • This is also very helpful for some who is looking to implement a workflow based on my learnings.

Setup

  • Use venv in Python3 and install Redis
  • Install the necessary packages `sh $ pip install -r requirements_dev.txt`
  • Start beat scheduler, this will periodically schedule the whole workflow within certain mins. `sh $ celery -A celery_scenarios.celery_app beat --loglevel=INFO`
  • Start worker, this is where your workflow and tasks run. `sh $ celery -A celery_scenarios.celery_app worker --loglevel=INFO`

Configs

  • If you don't want to use `Redis`you can go ahead can change the configs in config.py and install and setup dependencies accordingly.
  • Don't like the periodic scheduler's schedule? You can configure it under the app's beat_schedule.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

About

Celery workflows and scenarios

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published