Skip to main content

Interact with Camunda from Django

Project description

1 Camunda client for Django

Version:

0.15.1

Source:

https://github.com/maykinmedia/django-camunda

Keywords:

camunda, process engine, bpmn

Run CI Code linting Coverage status

python-versions django-versions pypi-version

Interact with Camunda BPMN processes from Django projects.

Tested against Camunda 7.16

2 Features

  • Configure Camunda connection parameters from the admin

  • Shared Celery tasks

  • Domain models as Python objects

  • Complex/custom process variable support

  • DMN evaluation and introspection

3 Installation

3.1 Requirements

  • Python 3.10+

  • Django 4.2+

  • Celery [optional]

3.2 Install

pip install django-camunda

or with Celery support:

pip install django-camunda[celery]

Next, ensure the following apps are installed:

INSTALLED_APPS = [
    ...,
    "solo",
    "django_camunda",
    ...
]

and run migrations:

python manage.py migrate

4 Usage

4.1 Configuration

  1. In the admin, navigate to django-camunda > Camunda configuration

  2. Fill out the API connection parameters for your Camunda instance

4.2 Using the API client

Built-in API functions

The module django_camunda.api contains a number of pre-defined API endpoint bindings. If what you’re looking for does not exist (yet), you can use the low-level API client (see below).

Core usage

The Camunda client class is a wrapper around the requests library and as such aims to provide the same Python interface.

from django_camunda.client import get_client

with get_client() as client:
    task = client.get("task/5c793356-24f5-4f82-a5ce-a3cce43b762b")

... # do something with the task details

Project details


Download files

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

Source Distribution

django_camunda-0.15.1.tar.gz (23.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_camunda-0.15.1-py3-none-any.whl (27.7 kB view details)

Uploaded Python 3

File details

Details for the file django_camunda-0.15.1.tar.gz.

File metadata

  • Download URL: django_camunda-0.15.1.tar.gz
  • Upload date:
  • Size: 23.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.20

File hashes

Hashes for django_camunda-0.15.1.tar.gz
Algorithm Hash digest
SHA256 f7f72ca3e69d0316ed825f5a8a3b83922ef0304b03beb2110aa0a32fa81fbe1f
MD5 1af7ee53cb8769cc90320205033e1327
BLAKE2b-256 4acb3d54dcc7745993e068125e49f84fa165a25aa24ccffd05fd889c1e649ff3

See more details on using hashes here.

File details

Details for the file django_camunda-0.15.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_camunda-0.15.1-py3-none-any.whl
Algorithm Hash digest
SHA256 efb9552d656d3a56b352af1441f1caf2f8479dde3ef6dd1a27b89467b90a66eb
MD5 bd57c5b855dd630e6e28ac8fb97a16a8
BLAKE2b-256 aac7d96b5e924e3b631d961d0e10e0f5e3adedc23bd7daf1a27bde936173f295

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page