Skip to main content

A simple Django app to run celery tasks as processes.

Project description

Process Engine

Process Engine is used in conjunction with celery to create async process from
celery tasks via an API

Quick start

1. Add "processengine" to your INSTALLED_APPS setting like this::


2. Include the router URLconf in your project like this::

from processengine.api import router as process_router

urlpatterns = [
url(r'^processengine/', include(process_router.urls)),

3. Add the PROCESS_MAP settings with your processes and the tasks to run like

'my.process': [

3. (Optional) Add settings for Slack Notifications. Note that it is an error to add a SLACK_WEBHOOK setting without also having the other settings below present.::
SERVICE_NAME = "Someservice"

4. Run `python migrate` to create the processengine models.

5. to create a process run a POST to
with the following data::

data = {
name: "my.process", # This is the name of your process set in PROCESS_MAP variable
context: {
"name": "value" # This is the data that you pass through to your task

Note: Your tasks need to conform to the pattern of json in and json out

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-processengine, version 0.2.4
Filename, size & hash File type Python version Upload date
django-processengine-0.2.4.tar.gz (9.7 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page