Skip to main content
=====
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::

INSTALLED_APPS = [
...
'processengine',
]

2. Include the router URLconf in your project urls.py 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
so::

PROCESS_MAP = {
'my.process': [
'path.to.taskfile.task',
],
...
}

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.::
SLACK_WEBHOOK = "https://hooks.slack.com/services/T051CQH14/VWVRAAFA5/lPz2y84gM0JUoVllBow0Glcx"
SLACK_PROCESS_CHANNEL = "#Processes"
SLACK_PROCESS_USERNAME = "Someuser"
SLACK_PROCESS_EMOJI = ":ghost:"
SERVICE_NAME = "Someservice"

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

5. to create a process run a POST to http://127.0.0.1:8000/processengine/process/
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

Metadata

Release files for django-processengine 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-processengine 0.2.4
File Size Uploaded Provenance
django-processengine-0.2.4.tar.gz 9.7 kB Without provenance Details

Release files / django-processengine-0.2.4.tar.gz

Download URL django-processengine-0.2.4.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
43cb298ba2feab97b5b55fdf1f316dee839e25d3aeea036c11f12cd787de520c
BLAKE2b-256 checksum
How to use checksums
669ff050fd641fac411c381c85f16a1080f920c5351c409f1f2b838273f106af
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Security for django-processengine 0.2.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page