PyCharm 2026.1 Help

Work with Celery

Celery is an asynchronous task queue used to run background tasks. It is commonly used in Django projects, but can also be used in standalone Python applications.

PyCharm provides integration with Celery that allows you to run Celery workers, enqueue tasks, and work with Celery configuration files directly in the IDE.

Coding assistance for Celery

PyCharm provides the follwing coding assistance for Celery projects:

  • Code completion for Celery configuration files such as celeryconfig.py.

  • Inspections for entries defined in beat_schedule, which is used by Celery Beat to schedule periodic tasks.

    Launch run/debug configuration

    You can create a run/debug configuration for Celery:

    1. Go to Run | Edit Configurations...

    2. Click Add New Configuration and select Celery.

    3. Choose one of the following configuration types:

      • Celery worker: use this configuration when you want to run a worker that executes background tasks.

      • Enqueue Celery tasks: use this configuration to send tasks to the queue so that they can be processed by running workers.

    10 March 2026